mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 10:05:17 -04:00
more pep8 suggestions
This commit is contained in:
parent
b3f66ea6fb
commit
fc7a05c443
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue