utils/scanpypi: import third party modules after the standard ones
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 10 Dec 2018 07:52:34 +0000 (08:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 10 Dec 2018 10:46:36 +0000 (11:46 +0100)
Move imports from six package after the standard modules. Resolves
pylint warnings.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/scanpypi

index 3d3e6044355e40ece57dbea62bddf0ad8480732e..9335bedee4a650637772cd9e5119ea2bd354c326 100755 (executable)
@@ -10,9 +10,6 @@ from __future__ import print_function
 from __future__ import absolute_import
 import argparse
 import json
-import six.moves.urllib.request
-import six.moves.urllib.error
-import six.moves.urllib.parse
 import sys
 import os
 import shutil
@@ -25,6 +22,9 @@ import textwrap
 import tempfile
 import imp
 from functools import wraps
+import six.moves.urllib.request
+import six.moves.urllib.error
+import six.moves.urllib.parse
 from six.moves import map
 from six.moves import zip
 from six.moves import input