diff options
author | Mike Frysinger <vapier@google.com> | 2020-02-17 14:58:37 -0500 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-18 06:28:12 +0000 |
commit | af1e5dea3511c7e01f9a0a31f6e254d63848bed5 (patch) | |
tree | ed30469d323af0213030345d1ce6a8f1220d29dc /subcmds | |
parent | 3cceda535ddbe1dae417a45db64895da45e97520 (diff) | |
download | git-repo-af1e5dea3511c7e01f9a0a31f6e254d63848bed5.tar.gz |
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>
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/abandon.py | 4 | ||||
-rw-r--r-- | subcmds/status.py | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/subcmds/abandon.py b/subcmds/abandon.py index f3478129..5d56abf7 100644 --- a/subcmds/abandon.py +++ b/subcmds/abandon.py | |||
@@ -15,9 +15,11 @@ | |||
15 | # limitations under the License. | 15 | # limitations under the License. |
16 | 16 | ||
17 | from __future__ import print_function | 17 | from __future__ import print_function |
18 | |||
19 | from collections import defaultdict | ||
18 | import sys | 20 | import sys |
21 | |||
19 | from command import Command | 22 | from command import Command |
20 | from collections import defaultdict | ||
21 | from git_command import git | 23 | from git_command import git |
22 | from progress import Progress | 24 | from progress import Progress |
23 | 25 | ||
diff --git a/subcmds/status.py b/subcmds/status.py index b594bd89..8537e6c5 100644 --- a/subcmds/status.py +++ b/subcmds/status.py | |||
@@ -16,6 +16,10 @@ | |||
16 | 16 | ||
17 | from __future__ import print_function | 17 | from __future__ import print_function |
18 | 18 | ||
19 | import glob | ||
20 | import itertools | ||
21 | import os | ||
22 | |||
19 | from command import PagedCommand | 23 | from command import PagedCommand |
20 | 24 | ||
21 | try: | 25 | try: |
@@ -23,11 +27,6 @@ try: | |||
23 | except ImportError: | 27 | except ImportError: |
24 | import dummy_threading as _threading | 28 | import dummy_threading as _threading |
25 | 29 | ||
26 | import glob | ||
27 | |||
28 | import itertools | ||
29 | import os | ||
30 | |||
31 | from color import Coloring | 30 | from color import Coloring |
32 | import platform_utils | 31 | import platform_utils |
33 | 32 | ||