Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
typing.Collection isn't available until Python 3.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Feb 27, 2020
1 parent 4454ddb commit 6519162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/federation/federation_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
import logging
from collections import namedtuple
from typing import Collection, List
from typing import Iterable, List

import six

Expand Down Expand Up @@ -226,7 +226,7 @@ class PduToCheckSig(


def _check_sigs_on_pdus(
keyring: Keyring, room_version: str, pdus: Collection[EventBase]
keyring: Keyring, room_version: str, pdus: Iterable[EventBase]
) -> List[Deferred]:
"""Check that the given events are correctly signed
Expand Down

0 comments on commit 6519162

Please sign in to comment.