Skip to content

Commit

Permalink
client.py: replace a never-used GitError with a ClientError.
Browse files Browse the repository at this point in the history
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 <apenwarr@gmail.com>
  • Loading branch information
apenwarr committed Feb 4, 2011
1 parent 4b0fed0 commit 9e57e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bup/client.py
Expand Up @@ -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)
Expand Down

0 comments on commit 9e57e8b

Please sign in to comment.