From ff5604e7f17893d26a8eb3abdf894c4d5a07dbf3 Mon Sep 17 00:00:00 2001
From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Date: Wed, 22 Apr 2020 12:18:51 +0100
Subject: [PATCH] import urllib.parse when using urllib.parse.quote (#7319)

---
 changelog.d/7319.misc        | 1 +
 synapse/handlers/identity.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 changelog.d/7319.misc

diff --git a/changelog.d/7319.misc b/changelog.d/7319.misc
new file mode 100644
index 0000000000..62ea6b6df9
--- /dev/null
+++ b/changelog.d/7319.misc
@@ -0,0 +1 @@
+Fix an incorrect import in IdentityHandler.
\ No newline at end of file
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py
index 23f07832e7..0f0e632b62 100644
--- a/synapse/handlers/identity.py
+++ b/synapse/handlers/identity.py
@@ -18,7 +18,7 @@
 """Utilities for interacting with Identity Servers"""
 
 import logging
-import urllib
+import urllib.parse
 
 from canonicaljson import json
 from signedjson.key import decode_verify_key_bytes
-- 
GitLab