[Treepkg-commits] r537 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 2 14:06:57 CEST 2011


Author: bricks
Date: 2011-09-02 14:06:57 +0200 (Fri, 02 Sep 2011)
New Revision: 537

Modified:
   trunk/treepkg/cmdexpand.py
Log:
Lists must not be converted to lists


Modified: trunk/treepkg/cmdexpand.py
===================================================================
--- trunk/treepkg/cmdexpand.py	2011-09-02 11:55:04 UTC (rev 536)
+++ trunk/treepkg/cmdexpand.py	2011-09-02 12:06:57 UTC (rev 537)
@@ -106,7 +106,7 @@
         if match:
             key = match.group("named")
             if key:
-                words[index:index + 1] = (str(item).split(" ") for item in kw[key])
+                words[index:index + 1] = (str(item) for item in kw[key])
             else:
                 assert match.group("invalid") != None
                 raise ValueError("In %r the characters after the '@'"



More information about the Treepkg-commits mailing list