summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-01-23 13:36:01 +0000
committerDavid Baker <dave@matrix.org>2015-01-23 13:36:01 +0000
commitfc7a05c443c169b07b917bb2692bdd7c738824fb (patch)
treeccbff2d504784ae6c866beb7a245f6e2dd7b36ee
parentmore pep8 (diff)
downloadsynapse-fc7a05c443c169b07b917bb2692bdd7c738824fb.tar.xz
more pep8 suggestions
-rw-r--r--synapse/push/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 3ee652f3bc..47da31e500 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -74,7 +74,6 @@ class Pusher(object):
 
         defer.returnValue(ctx)
 
-
     @defer.inlineCallbacks
     def start(self):
         if not self.last_token:
@@ -116,7 +115,7 @@ class Pusher(object):
             processed = False
             if self._should_notify_for_event(single_event):
                 rejected = yield self.dispatch_push(single_event)
-                if not rejected == False:
+                if not rejected is False:
                     processed = True
                     for pk in rejected:
                         if pk != self.pushkey: