Github user ran-z commented on a diff in the pull request:
https://github.com/apache/incubator-ariatosca/pull/81#discussion_r107627104
--- Diff: aria/cli/commands.py ---
@@ -241,12 +241,9 @@ def _get_workflow(self, context, workflow_name):
if workflow.type.role != 'workflow':
raise AttributeError('policy is not a workflow:
"{0}"'.format(workflow_name))
- try:
-
sys.path.append(workflow.properties['implementation'].value)
- except KeyError:
- pass
+
sys.path.append(os.path.dirname(str(context.presentation.location)))
--- End diff --
why was this changed?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---