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

Commit c395fef

Browse files
committed
Python 3.5 fixes.
1 parent d3d707f commit c395fef

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

synapse/handlers/device.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,7 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
import logging
18-
from typing import (
19-
TYPE_CHECKING,
20-
Any,
21-
Collection,
22-
Dict,
23-
Iterable,
24-
List,
25-
Optional,
26-
Set,
27-
Tuple,
28-
)
18+
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Set, Tuple
2919

3020
from synapse.api import errors
3121
from synapse.api.constants import EventTypes
@@ -39,6 +29,7 @@
3929
from synapse.logging.opentracing import log_kv, set_tag, trace
4030
from synapse.metrics.background_process_metrics import run_as_background_process
4131
from synapse.types import (
32+
Collection,
4233
JsonDict,
4334
StreamToken,
4435
UserID,

0 commit comments

Comments
 (0)