changeset 574:19d10022b2de

Lists must not be converted to lists
author Bjoern Ricks <bricks@intevation.de>
date Fri, 02 Sep 2011 12:06:57 +0000
parents 49e63875e041
children 87a0be76b5b7
files treepkg/cmdexpand.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/cmdexpand.py	Fri Sep 02 11:55:04 2011 +0000
+++ b/treepkg/cmdexpand.py	Fri Sep 02 12:06:57 2011 +0000
@@ -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 '@'"
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)