pep8
parent
f47a4177e0
commit
b20946666b
|
@ -14,7 +14,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
import itertools
|
import itertools
|
||||||
import logging
|
import logging
|
||||||
from typing import Dict, List, Optional, Set
|
from typing import Dict, List, Optional, Set, Tuple
|
||||||
|
|
||||||
from six.moves.queue import Empty, PriorityQueue
|
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
|
# Assume that this event is unreachable from any of the
|
||||||
# state sets until proven otherwise
|
# 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:
|
else:
|
||||||
# We've previously seen this event, so look up its auth
|
# We've previously seen this event, so look up its auth
|
||||||
# events and recursively mark all ancestors as reachable
|
# events and recursively mark all ancestors as reachable
|
||||||
|
|
Loading…
Reference in New Issue