Fix pristine-tar error message
authorGuido Günther <agx@sigxcpu.org>
Tue, 23 Aug 2011 07:45:50 +0000 (09:45 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 23 Aug 2011 07:47:46 +0000 (09:47 +0200)
gbp/command_wrappers.py

index aa1683d..6b1c834 100644 (file)
@@ -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])