From f22ddca351c45edab9f71359765e34ae16205fa1 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 30 Nov 2009 11:28:15 +0100 Subject: SymbolicReference.delete: Now takes SymbolicReference instances as well, not only paths diff.__str__: fixed incorrect message generation error --- lib/git/diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git/diff.py') diff --git a/lib/git/diff.py b/lib/git/diff.py index 38430827..9b07b5ea 100644 --- a/lib/git/diff.py +++ b/lib/git/diff.py @@ -248,7 +248,7 @@ class Diff(object): h = "%s" if self.a_blob: h %= self.a_blob.path - if self.b_blob: + elif self.b_blob: h %= self.b_blob.path msg = '' -- cgit v1.2.1