git-p4: sort imports
Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
e8f8b3b2a3
commit
4ff0108d9e
18
git-p4.py
18
git-p4.py
@ -30,26 +30,28 @@
|
|||||||
# pylint: disable=wrong-import-order
|
# pylint: disable=wrong-import-order
|
||||||
# pylint: disable=wrong-import-position
|
# pylint: disable=wrong-import-position
|
||||||
#
|
#
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
if sys.version_info.major < 3 and sys.version_info.minor < 7:
|
if sys.version_info.major < 3 and sys.version_info.minor < 7:
|
||||||
sys.stderr.write("git-p4: requires Python 2.7 or later.\n")
|
sys.stderr.write("git-p4: requires Python 2.7 or later.\n")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
import os
|
|
||||||
import optparse
|
import ctypes
|
||||||
|
import errno
|
||||||
import functools
|
import functools
|
||||||
|
import glob
|
||||||
import marshal
|
import marshal
|
||||||
import subprocess
|
import optparse
|
||||||
import tempfile
|
import os
|
||||||
import time
|
|
||||||
import platform
|
import platform
|
||||||
import re
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
import stat
|
import stat
|
||||||
|
import subprocess
|
||||||
|
import tempfile
|
||||||
|
import time
|
||||||
import zipfile
|
import zipfile
|
||||||
import zlib
|
import zlib
|
||||||
import ctypes
|
|
||||||
import errno
|
|
||||||
import glob
|
|
||||||
|
|
||||||
# On python2.7 where raw_input() and input() are both availble,
|
# On python2.7 where raw_input() and input() are both availble,
|
||||||
# we want raw_input's semantics, but aliased to input for python3
|
# we want raw_input's semantics, but aliased to input for python3
|
||||||
|
Reference in New Issue
Block a user