File tree 1 file changed +3
-7
lines changed 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 34
34
from .lib import sgsix
35
35
from .lib import sgutils
36
36
from .lib .six import BytesIO # used for attachment upload
37
- from .lib .six .moves import map
38
37
39
38
from .lib .six .moves import http_cookiejar # used for attachment upload
40
39
import datetime
48
47
import sys
49
48
import time
50
49
import json
51
- from . lib . six . moves import urllib
50
+ import urllib
52
51
import shutil # used for attachment download
53
- from . lib . six . moves import http_client # Used for secure file upload.
52
+ import http . client # Used for secure file upload.
54
53
from .lib .httplib2 import Http , ProxyInfo , socks , ssl_error_classes
55
54
from .lib .sgtimezone import SgTimezone
56
55
57
56
# Import Error and ResponseError (even though they're unused in this file) since they need
58
57
# to be exposed as part of the API.
59
58
from .lib .six .moves .xmlrpc_client import Error , ProtocolError , ResponseError # noqa
60
59
61
- if six .PY3 :
62
- from base64 import encodebytes as base64encode
63
- else :
64
- from base64 import encodestring as base64encode
60
+ from base64 import encodebytes as base64encode
65
61
66
62
67
63
LOG = logging .getLogger ("shotgun_api3" )
You can’t perform that action at this time.
0 commit comments