summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-10-03 15:47:02 +0900
committerGustaf Lundh <gustaf.lundh@sonymobile.com>2012-10-04 10:31:09 +0200
commitb926116a1483d04df99252ed02418bf8e58094a3 (patch)
tree67bbae4a818085b42de7a6a3ee41aaa5fdade55c /error.py
parent3ff9decfd4e2f1fed71658d0f78a17895f80ff5f (diff)
downloadgit-repo-b926116a1483d04df99252ed02418bf8e58094a3.tar.gz
Remove `ImportError` class
The definition of `ImportError` redefines the Python built-in class of the same name. It is not used anywhere, so remove it. Change-Id: I557ce28c93a3306fff72873dc6f477330fc33128
Diffstat (limited to 'error.py')
-rw-r--r--error.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/error.py b/error.py
index 78c5c0e0..48e3189c 100644
--- a/error.py
+++ b/error.py
@@ -39,15 +39,6 @@ class GitError(Exception):
39 def __str__(self): 39 def __str__(self):
40 return self.command 40 return self.command
41 41
42class ImportError(Exception):
43 """An import from a non-Git format cannot be performed.
44 """
45 def __init__(self, reason):
46 self.reason = reason
47
48 def __str__(self):
49 return self.reason
50
51class UploadError(Exception): 42class UploadError(Exception):
52 """A bundle upload to Gerrit did not succeed. 43 """A bundle upload to Gerrit did not succeed.
53 """ 44 """