From e15c65abc25cd1d5d77ec6815a3c011b9f57ddac Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 22 Aug 2012 10:46:11 +0900 Subject: Remove unused imports There are several imports that are not used. Remove them. Change-Id: I2ac3be66827bd68d3faedcef7d6bbf30ea01d3f2 --- subcmds/cherry_pick.py | 2 +- subcmds/download.py | 1 - subcmds/grep.py | 1 - subcmds/rebase.py | 2 -- 4 files changed, 1 insertion(+), 5 deletions(-) (limited to 'subcmds') 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 @@ # See the License for the specific language governing permissions and # limitations under the License. -import sys, re, string, random, os +import sys, re from command import Command from git_command import GitCommand 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 @@ # See the License for the specific language governing permissions and # limitations under the License. -import os import re import sys 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 @@ # limitations under the License. import sys -from optparse import SUPPRESS_HELP from color import Coloring from command import PagedCommand 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 from command import Command from git_command import GitCommand -from git_refs import GitRefs, HEAD, R_HEADS, R_TAGS, R_PUB, R_M -from error import GitError class Rebase(Command): common = True -- cgit v1.2.3-54-g00ecf