diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-08-22 10:46:11 +0900 |
---|---|---|
committer | Gustaf Lundh <gustaf.lundh@sonymobile.com> | 2012-08-23 12:15:26 +0200 |
commit | e15c65abc25cd1d5d77ec6815a3c011b9f57ddac (patch) | |
tree | 43bd95e2e83abcd88c5d05b6a65393877c51028b /subcmds | |
parent | daa851f6cd9edb3851a3884fd2864f0f3dc583b2 (diff) | |
download | git-repo-e15c65abc25cd1d5d77ec6815a3c011b9f57ddac.tar.gz |
Remove unused imports
There are several imports that are not used. Remove them.
Change-Id: I2ac3be66827bd68d3faedcef7d6bbf30ea01d3f2
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/cherry_pick.py | 2 | ||||
-rw-r--r-- | subcmds/download.py | 1 | ||||
-rw-r--r-- | subcmds/grep.py | 1 | ||||
-rw-r--r-- | subcmds/rebase.py | 2 |
4 files changed, 1 insertions, 5 deletions
diff --git a/subcmds/cherry_pick.py b/subcmds/cherry_pick.py index 8da3a750..7890af4d 100644 --- a/subcmds/cherry_pick.py +++ b/subcmds/cherry_pick.py | |||
@@ -13,7 +13,7 @@ | |||
13 | # See the License for the specific language governing permissions and | 13 | # See the License for the specific language governing permissions and |
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | import sys, re, string, random, os | 16 | import sys, re |
17 | from command import Command | 17 | from command import Command |
18 | from git_command import GitCommand | 18 | from git_command import GitCommand |
19 | 19 | ||
diff --git a/subcmds/download.py b/subcmds/download.py index 0ea45c3f..0abe90d0 100644 --- a/subcmds/download.py +++ b/subcmds/download.py | |||
@@ -13,7 +13,6 @@ | |||
13 | # See the License for the specific language governing permissions and | 13 | # See the License for the specific language governing permissions and |
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | import os | ||
17 | import re | 16 | import re |
18 | import sys | 17 | import sys |
19 | 18 | ||
diff --git a/subcmds/grep.py b/subcmds/grep.py index 1cb5650b..0dc8f9f6 100644 --- a/subcmds/grep.py +++ b/subcmds/grep.py | |||
@@ -14,7 +14,6 @@ | |||
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | import sys | 16 | import sys |
17 | from optparse import SUPPRESS_HELP | ||
18 | from color import Coloring | 17 | from color import Coloring |
19 | from command import PagedCommand | 18 | from command import PagedCommand |
20 | from git_command import git_require, GitCommand | 19 | from git_command import git_require, GitCommand |
diff --git a/subcmds/rebase.py b/subcmds/rebase.py index 20662b11..2c1752d7 100644 --- a/subcmds/rebase.py +++ b/subcmds/rebase.py | |||
@@ -17,8 +17,6 @@ import sys | |||
17 | 17 | ||
18 | from command import Command | 18 | from command import Command |
19 | from git_command import GitCommand | 19 | from git_command import GitCommand |
20 | from git_refs import GitRefs, HEAD, R_HEADS, R_TAGS, R_PUB, R_M | ||
21 | from error import GitError | ||
22 | 20 | ||
23 | class Rebase(Command): | 21 | class Rebase(Command): |
24 | common = True | 22 | common = True |