Use six.moves.urllib.parse instead of the urlparse module.
[mediagoblin.git] / mediagoblin / plugins / oauth / forms.py
index 5edd992a509a991676d0fd569b70248ce9806472..d271359aa5f9fad9402359a2f57992571f0bfcb2 100644 (file)
@@ -16,7 +16,7 @@
 
 import wtforms
 
-from urlparse import urlparse
+from six.moves.urllib.parse import urlparse
 
 from mediagoblin.tools.extlib.wtf_html5 import URLField
 from mediagoblin.tools.translate import lazy_pass_to_ugettext as _