Mercurial > treepkg
changeset 575:87a0be76b5b7
Revert ugly hack for the command from config file problem
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Sat, 03 Sep 2011 10:55:32 +0000 |
parents | 19d10022b2de |
children | 8f62a825addb |
files | treepkg/cmdexpand.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/cmdexpand.py Fri Sep 02 12:06:57 2011 +0000 +++ b/treepkg/cmdexpand.py Sat Sep 03 10:55:32 2011 +0000 @@ -112,5 +112,5 @@ raise ValueError("In %r the characters after the '@'" " do not match a python identifier" % word) else: - words[index:index +1] = expandword(word, kw).split(" ") + words[index] = expandword(word, kw) return words