Import urllib submodules

otpclient only imported the urllib parent package, not urllib.request
and urllib.parse subpackages. This may or may not work depending on the
import order of other plugins.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Christian Heimes
2019-04-29 17:51:09 +02:00
committed by Rob Crittenden
parent dc113a0a31
commit e73fdcf8ba

View File

@@ -34,7 +34,8 @@ import qrcode
import six
from io import StringIO
import urllib
import urllib.parse
import urllib.request
if six.PY3:
unicode = str