From b926116a1483d04df99252ed02418bf8e58094a3 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 3 Oct 2012 15:47:02 +0900 Subject: 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 --- error.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'error.py') 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): def __str__(self): return self.command -class ImportError(Exception): - """An import from a non-Git format cannot be performed. - """ - def __init__(self, reason): - self.reason = reason - - def __str__(self): - return self.reason - class UploadError(Exception): """A bundle upload to Gerrit did not succeed. """ -- cgit v1.2.3-54-g00ecf