From: Avery Pennarun Date: Fri, 4 Feb 2011 11:01:33 +0000 (-0800) Subject: client.py: replace a never-used GitError with a ClientError. X-Git-Tag: bup-0.22a~3 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=9e57e8b352095a5fe9de6dd52ec03e92d6042b44;p=bup.git client.py: replace a never-used GitError with a ClientError. Nobody ever tried calling that function, so it's really just an assertion that never triggered. Which is good, because it was trying to throw an exception that wasn't available in the current namespace. Signed-off-by: Avery Pennarun --- diff --git a/lib/bup/client.py b/lib/bup/client.py index 4a7c369..8d2fbb9 100644 --- a/lib/bup/client.py +++ b/lib/bup/client.py @@ -309,7 +309,7 @@ class PackWriter_Remote(git.PackWriter): return id def abort(self): - raise GitError("don't know how to abort remote pack writing") + raise ClientError("don't know how to abort remote pack writing") def _raw_write(self, datalist, sha): assert(self.file)