mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-05 17:12:37 +00:00
PEP8
This commit is contained in:
parent
6c74fd62a0
commit
c3b37abdfd
@ -27,7 +27,6 @@ from twisted.internet import defer
|
|||||||
|
|
||||||
from collections import namedtuple, OrderedDict
|
from collections import namedtuple, OrderedDict
|
||||||
|
|
||||||
import contextlib
|
|
||||||
import functools
|
import functools
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
@ -629,7 +629,7 @@ class EventsStore(SQLBaseStore):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _fetch_events(self, txn, events, check_redacted=True,
|
def _fetch_events(self, txn, events, check_redacted=True,
|
||||||
get_prev_content=False, allow_rejected=False):
|
get_prev_content=False, allow_rejected=False):
|
||||||
if not events:
|
if not events:
|
||||||
defer.returnValue({})
|
defer.returnValue({})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user