diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-12 23:23:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 23:23:32 +1000 |
commit | 7ca097f77eba19403b4169e23404678aa2c7cd91 (patch) | |
tree | f0c3403ad5a144a3fe066cf9dabdb649581fe5d8 /synapse/federation/transport/client.py | |
parent | Merge pull request #3835 from krombel/fix_3821 (diff) | |
download | synapse-7ca097f77eba19403b4169e23404678aa2c7cd91.tar.xz |
Port federation/ to py3 (#3847)
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r-- | synapse/federation/transport/client.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index 1054441ca5..2ab973d6c8 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -15,7 +15,8 @@ # limitations under the License. import logging -import urllib + +from six.moves import urllib from twisted.internet import defer @@ -951,4 +952,4 @@ def _create_path(prefix, path, *args): Returns: str """ - return prefix + path % tuple(urllib.quote(arg, "") for arg in args) + return prefix + path % tuple(urllib.parse.quote(arg, "") for arg in args) |