summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-08-23 09:45:50 +0200
committerGuido Günther <agx@sigxcpu.org>2011-08-23 09:47:46 +0200
commit3588d88e0382114e375bdce126293e135d09bb14 (patch)
treeebf9f29387b699184aea30cd90539250abec4893
parent01a47943ab31a105753e3aaac888e42b64629824 (diff)
Fix pristine-tar error message
-rw-r--r--gbp/command_wrappers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py
index aa1683d..6b1c834 100644
--- a/gbp/command_wrappers.py
+++ b/gbp/command_wrappers.py
@@ -133,11 +133,11 @@ class PristineTar(Command):
Command.__init__(self, self.cmd)
def commit(self, archive, branch):
- self.run_errror = 'Couldn\'t commit to "%s"' % branch
+ self.run_error = 'Couldn\'t commit to "%s"' % branch
self.__call__(['commit', archive, branch])
def checkout(self, archive):
- self.run_errror = 'Couldn\'t checkout "%s"' % archive
+ self.run_error = 'Couldn\'t checkout "%s"' % os.path.basename(archive)
self.__call__(['checkout', archive])