Explorar o código

Remove Python2 legacy compatibility

Oz N Tiram %!s(int64=6) %!d(string=hai) anos
pai
achega
87b667e534
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      pwman/data/factory.py

+ 1 - 4
pwman/data/factory.py

@@ -18,10 +18,7 @@
 # ============================================================================
 
 import sys
-if sys.version_info.major > 2:  # pragma: no cover
-    from urllib.parse import urlparse
-else:
-    from urlparse import urlparse
+from urllib.parse import urlparse
 
 import os