[POS-commit] r5366 - kiwi/trunk/kiwi/ui/test

Johan Dahlin jdahlin at async.com.br
Tue Nov 21 14:58:55 BRST 2006


Author: jdahlin
Date: Tue Nov 21 14:58:55 2006
New Revision: 5366

Modified:
   kiwi/trunk/kiwi/ui/test/runner.py

Log:
Set args and filenames properly

Modified: kiwi/trunk/kiwi/ui/test/runner.py
==============================================================================
--- kiwi/trunk/kiwi/ui/test/runner.py	(original)
+++ kiwi/trunk/kiwi/ui/test/runner.py	Tue Nov 21 14:58:55 2006
@@ -200,10 +200,10 @@
         pos = data.find('run:')
         if pos != -1:
             rest = data[pos+5:]
-
             # run: foo --arg
-            if '  ' in rest:
+            if ' ' in rest:
                 filename, args = rest.split(' ', 1)
+                args = [args]
             # run: foo
             else:
                 filename = rest


More information about the POS-commit mailing list