Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiryakov committed Jul 22, 2016
1 parent 3aaaf91 commit 7dfa4a4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontera/core/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,13 @@ def _process_components(self, method_name, obj=None, return_classes=None, **kwar
return_obj = result
if check_response and obj and not return_obj:
self._logger_components.warning("Object '%s' filtered in '%s' by '%s'",
obj.__class__.__name__, method_name, component.__class__.__name__
)
obj.__class__.__name__, method_name, component.__class__.__name__)
return
return return_obj

def _process_component(self, component, method_name, component_category, obj, return_classes, **kwargs):
self._logger_components.debug("processing '%s' '%s.%s' %s",
method_name, component_category, component.__class__.__name__, obj)
method_name, component_category, component.__class__.__name__, obj)
return_obj = getattr(component, method_name)(*([obj] if obj else []), **kwargs)
assert return_obj is None or isinstance(return_obj, return_classes), \
"%s '%s.%s' must return None or %s, Got '%s'" % \
Expand Down

0 comments on commit 7dfa4a4

Please sign in to comment.