[Git][gajim/python-nbxmpp][master] 2 commits: Remove Python 2 compatibility code

Philipp Hörist gitlab at dev.gajim.org
Thu Jan 24 22:19:05 CET 2019


Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
4dd65f01 by André Apitzsch at 2019-01-24T21:12:40Z
Remove Python 2 compatibility code

- - - - -
1609d94a by Philipp Hörist at 2019-01-24T21:19:03Z
Merge branch 'urllib' into 'master'

Remove Python 2 compatibility code

See merge request gajim/python-nbxmpp!28
- - - - -


1 changed file:

- nbxmpp/transports_nb.py


Changes:

=====================================
nbxmpp/transports_nb.py
=====================================
@@ -32,11 +32,7 @@ import base64
 import sys
 import locale
 import logging
-
-try:
-    from urllib.parse import urlparse
-except ImportError:
-    from urlparse import urlparse
+from urllib.parse import urlparse
 
 from .plugin import PlugIn
 from .idlequeue import IdleObject



View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/compare/16cb9d5fde313c1285655c650674ac4cc90b5351...1609d94a5cd7a1dd46ae4b4578433a8bf32287bc

-- 
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/compare/16cb9d5fde313c1285655c650674ac4cc90b5351...1609d94a5cd7a1dd46ae4b4578433a8bf32287bc
You're receiving this email because of your account on dev.gajim.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gajim.org/pipermail/commits/attachments/20190124/e336f3b2/attachment.html>


More information about the Commits mailing list