chiark / gitweb /
Execute the 'git ...' rather than 'git-...'
[stgit] / stgit / run.py
index 989bb27a33026f1c82dd31c4a5b37f73a2c2a148..83bf5f5f356f5ae92dd1b183d57e5fbeac94db5d 100644 (file)
@@ -40,7 +40,7 @@ class Run:
         self.__cmd = list(cmd)
         for c in cmd:
             if type(c) != str:
-                raise Exception, 'Bad command: %r' % cmd
+                raise Exception, 'Bad command: %r' % (cmd,)
         self.__good_retvals = [0]
         self.__env = None
         self.__indata = None