We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cca9e16 commit bfd2583Copy full SHA for bfd2583
business_rules/engine.py
@@ -144,5 +144,5 @@ def fallback(*args, **kwargs):
144
params = action.get('params') or {}
145
method = getattr(defined_actions, method_name, fallback)
146
actions_results[method_name] = method(**params)
147
- return {method_name: result for method_name, result in
148
- actions_results.iteritems() if result}
+ return dict((method_name, result) for method_name, result in
+ actions_results.iteritems() if result)
0 commit comments