summaryrefslogtreecommitdiff
path: root/gbp/git_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/git_utils.py')
-rw-r--r--gbp/git_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git_utils.py b/gbp/git_utils.py
index bbbc96f5..15136c2c 100644
--- a/gbp/git_utils.py
+++ b/gbp/git_utils.py
@@ -100,7 +100,7 @@ class GitRepository(object):
options, '%s..%s' % (start, end),
'--', paths])
if ret:
- raise GitRepositoryError, "Error gettint commits %s..%s on %s" % (start, end, paths)
+ raise GitRepositoryError, "Error getting commits %s..%s%s" % (start, end, ["", " on %s" % paths][len(paths) > 0] )
return [ commit.strip() for commit in commits ]
def show(self, id):