Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-138-Make-logging-more-informative e23f5df8d -> f0ee272c1
minor fixups Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/f0ee272c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/f0ee272c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/f0ee272c Branch: refs/heads/ARIA-138-Make-logging-more-informative Commit: f0ee272c19c30b6fcaa9bca544f55ebc883d02ab Parents: e23f5df Author: max-orlov <[email protected]> Authored: Tue Apr 18 11:05:36 2017 +0300 Committer: max-orlov <[email protected]> Committed: Tue Apr 18 11:05:36 2017 +0300 ---------------------------------------------------------------------- aria/orchestrator/workflows/executor/process.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/f0ee272c/aria/orchestrator/workflows/executor/process.py ---------------------------------------------------------------------- diff --git a/aria/orchestrator/workflows/executor/process.py b/aria/orchestrator/workflows/executor/process.py index 298d7b5..aea9c76 100644 --- a/aria/orchestrator/workflows/executor/process.py +++ b/aria/orchestrator/workflows/executor/process.py @@ -383,14 +383,12 @@ def _main(): implementation = arguments['implementation'] operation_inputs = arguments['operation_inputs'] - import pydevd; pydevd.settrace('localhost', suspend=False) - operation_inputs = dict((k, v.value) for k, v in operation_inputs.items()) context_dict = arguments['context'] # This is required for the instrumentation work properly. # See docstring of `remove_mutable_association_listener` for further details modeling_types.remove_mutable_association_listener() - import pydevd; pydevd.settrace('localhost', suspend=False) + with instrumentation.track_changes() as instrument: try: ctx = context_dict['context_cls'].deserialize_from_dict(**context_dict['context'])
