File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434from .lib import sgsix
3535from .lib import sgutils
3636from .lib .six import BytesIO # used for attachment upload
37- from .lib .six .moves import map
3837
3938from .lib .six .moves import http_cookiejar # used for attachment upload
4039import datetime
4847import sys
4948import time
5049import json
51- from . lib . six . moves import urllib
50+ import urllib
5251import 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.
5453from .lib .httplib2 import Http , ProxyInfo , socks , ssl_error_classes
5554from .lib .sgtimezone import SgTimezone
5655
5756# Import Error and ResponseError (even though they're unused in this file) since they need
5857# to be exposed as part of the API.
5958from .lib .six .moves .xmlrpc_client import Error , ProtocolError , ResponseError # noqa
6059
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
6561
6662
6763LOG = logging .getLogger ("shotgun_api3" )
You can’t perform that action at this time.
0 commit comments