From 9e57e8b352095a5fe9de6dd52ec03e92d6042b44 Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Fri, 4 Feb 2011 03:01:33 -0800 Subject: [PATCH] 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 --- lib/bup/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bup/client.py b/lib/bup/client.py index 4a7c3698b..8d2fbb99f 100644 --- a/lib/bup/client.py +++ b/lib/bup/client.py @@ -309,7 +309,7 @@ def close(self): 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)