mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 15:54:36 +02:00
Shorten imports
This commit is contained in:
+2
-4
@@ -30,13 +30,11 @@ import requests
|
|||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
if sys.version_info >= (3,):
|
if sys.version_info >= (3,):
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse, urljoin
|
||||||
from urllib.parse import urljoin
|
|
||||||
text_type = str
|
text_type = str
|
||||||
binary_type = bytes
|
binary_type = bytes
|
||||||
else:
|
else:
|
||||||
from urlparse import urlparse
|
from urlparse import urlparse, urljoin
|
||||||
from urlparse import urljoin
|
|
||||||
text_type = unicode
|
text_type = unicode
|
||||||
binary_type = str
|
binary_type = str
|
||||||
input = raw_input
|
input = raw_input
|
||||||
|
|||||||
Reference in New Issue
Block a user