Appease pylint over import order (#1087)

This commit is contained in:
Ross Scroggs
2020-02-07 14:48:15 -08:00
committed by GitHub
parent ccc5b2ac44
commit 0afffb4ee2

View File

@@ -52,11 +52,6 @@ from multiprocessing import Pool as mp_pool
from multiprocessing import freeze_support as mp_freeze_support
from multiprocessing import set_start_method as mp_set_start_method
from urllib.parse import quote, urlencode, urlparse
if platform.system() == 'Windows':
# No crypt module on Win, use passlib
from passlib.hash import sha512_crypt
else:
from crypt import crypt
import dateutil.parser
import googleapiclient
@@ -85,6 +80,12 @@ import transport
import utils
from var import *
if platform.system() == 'Windows':
# No crypt module on Win, use passlib
from passlib.hash import sha512_crypt
else:
from crypt import crypt
if platform.system() == 'Linux':
import distro