aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Yegor Yefremov <yegorslists@googlemail.com>2018-12-10 08:52:34 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-10 11:46:36 +0100
commite273c36ad086189c081a41f2de7966348e085e37 (patch)
tree688e12fff83a47547d8c43023dd7f13c06a4b809 /utils
parent3fcc7599d5d787a2ffbb192b5044b50c52cb98b3 (diff)
downloadbuildroot-e273c36ad086189c081a41f2de7966348e085e37.tar.gz
buildroot-e273c36ad086189c081a41f2de7966348e085e37.tar.bz2
utils/scanpypi: import third party modules after the standard ones
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>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/scanpypi6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/scanpypi b/utils/scanpypi
index 3d3e604435..9335bedee4 100755
--- a/utils/scanpypi
+++ b/utils/scanpypi
@@ -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