chiark / gitweb /
Fix error message generation
authorKarl Hasselström <kha@treskal.com>
Tue, 9 Oct 2007 04:20:34 +0000 (06:20 +0200)
committerKarl Hasselström <kha@treskal.com>
Tue, 9 Oct 2007 04:20:34 +0000 (06:20 +0200)
commitf72681803ee283536c595ae752489a9b6f2c4584
tree345b01aa523a6acfbf0183577771544bea47ef34
parent6972fd6b0cc82580fb94b3388e4d4879f69b09a8
Fix error message generation

The right-hand-side operand of % is supposed to be a tuple with the
same number of arguments as there are formatting codes in the
left-hand-side operand, or just any value if there is just one
formatting code; however, here it was a variable with a tuple value,
which didn't work. So wrap it in a tuple of length one, and all is
well again.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/run.py