resort a few module imports to follow PEP8

All the stdlib imports are supposed to come before any local imports.

Change-Id: I10c0335ba2ff715fd34c9eb91bfe6560e904df08
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255593
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
This commit is contained in:
Mike Frysinger 2020-02-17 14:58:37 -05:00 committed by David Pursehouse
parent 3cceda535d
commit af1e5dea35
3 changed files with 10 additions and 9 deletions

View File

@ -21,6 +21,7 @@ import errno
import json
import os
import re
import signal
import ssl
import subprocess
import sys
@ -41,7 +42,6 @@ else:
urllib.request = urllib2
urllib.error = urllib2
from signal import SIGTERM
from error import GitError, UploadError
import platform_utils
from repo_trace import Trace
@ -494,7 +494,7 @@ def close_ssh():
for p in _master_processes:
try:
os.kill(p.pid, SIGTERM)
os.kill(p.pid, signal.SIGTERM)
p.wait()
except OSError:
pass

View File

@ -15,9 +15,11 @@
# limitations under the License.
from __future__ import print_function
import sys
from command import Command
from collections import defaultdict
import sys
from command import Command
from git_command import git
from progress import Progress

View File

@ -16,6 +16,10 @@
from __future__ import print_function
import glob
import itertools
import os
from command import PagedCommand
try:
@ -23,11 +27,6 @@ try:
except ImportError:
import dummy_threading as _threading
import glob
import itertools
import os
from color import Coloring
import platform_utils