pep8
parent
f47a4177e0
commit
b20946666b
|
@ -14,7 +14,7 @@
|
|||
# limitations under the License.
|
||||
import itertools
|
||||
import logging
|
||||
from typing import Dict, List, Optional, Set
|
||||
from typing import Dict, List, Optional, Set, Tuple
|
||||
|
||||
from six.moves.queue import Empty, PriorityQueue
|
||||
|
||||
|
@ -222,7 +222,9 @@ class EventFederationWorkerStore(EventsWorkerStore, SignatureWorkerStore, SQLBas
|
|||
|
||||
# Assume that this event is unreachable from any of the
|
||||
# state sets until proven otherwise
|
||||
sets = event_to_missing_sets[auth_event_id] = set(range(len(state_sets)))
|
||||
sets = event_to_missing_sets[auth_event_id] = set(
|
||||
range(len(state_sets))
|
||||
)
|
||||
else:
|
||||
# We've previously seen this event, so look up its auth
|
||||
# events and recursively mark all ancestors as reachable
|
||||
|
|
Loading…
Reference in New Issue