chiark / gitweb /
Assert that the argument to Run is a sequence of strings
authorKarl Hasselström <kha@treskal.com>
Fri, 24 Aug 2007 11:26:01 +0000 (13:26 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 26 Aug 2007 20:04:10 +0000 (22:04 +0200)
commit06104c208673fdfdbcc320d59e8fb9658330edc3
treecc3f544ef2c53788c343b5a4e60c43bc2f4bfbbb
parentf0de3f92cc85c3d5e1dd3511578b01e46652e93c
Assert that the argument to Run is a sequence of strings

This runtime assertion makes bugs easier to find.

In most other languages, we'd have been able to check this at compile
time. But this is Python. Yay!

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