mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 08:09:44 -05:00
PEP8
This commit is contained in:
parent
386b7330d2
commit
f4d58deba1
@ -445,7 +445,6 @@ class EventsStore(SQLBaseStore):
|
|||||||
if e_id in event_map and event_map[e_id]
|
if e_id in event_map and event_map[e_id]
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
def _get_events_txn(self, txn, event_ids, check_redacted=True,
|
def _get_events_txn(self, txn, event_ids, check_redacted=True,
|
||||||
get_prev_content=False, allow_rejected=False):
|
get_prev_content=False, allow_rejected=False):
|
||||||
return unwrap_deferred(self._get_events(
|
return unwrap_deferred(self._get_events(
|
||||||
@ -494,7 +493,7 @@ class EventsStore(SQLBaseStore):
|
|||||||
return event_map
|
return event_map
|
||||||
|
|
||||||
def _fetch_events_txn(self, txn, events, check_redacted=True,
|
def _fetch_events_txn(self, txn, events, check_redacted=True,
|
||||||
get_prev_content=False, allow_rejected=False):
|
get_prev_content=False, allow_rejected=False):
|
||||||
return unwrap_deferred(self._fetch_events(
|
return unwrap_deferred(self._fetch_events(
|
||||||
txn, events,
|
txn, events,
|
||||||
check_redacted=check_redacted,
|
check_redacted=check_redacted,
|
||||||
|
Loading…
Reference in New Issue
Block a user