More sacrifices to the pep8 gods.

This commit is contained in:
David Baker 2015-03-12 16:53:12 +00:00
parent c92fdf88a3
commit bbb010a30f

View File

@ -133,10 +133,16 @@ class Pusher(object):
)
continue
if matches:
logger.info("%s matches for user %s, event %s", r['rule_id'], self.user_name, ev['event_id'])
logger.info(
"%s matches for user %s, event %s",
r['rule_id'], self.user_name, ev['event_id']
)
defer.returnValue(actions)
logger.info("No rules match for user %s, event %s", self.user_name, ev['event_id'])
logger.info(
"No rules match for user %s, event %s",
self.user_name, ev['event_id']
)
defer.returnValue(Pusher.DEFAULT_ACTIONS)
@staticmethod