# HG changeset patch # User Bjoern Ricks # Date 1315047332 0 # Node ID 87a0be76b5b747e244c3f67d6e5aee62d8366e61 # Parent 19d10022b2de25e37efd2a9e33c9f6803771fb3c Revert ugly hack for the command from config file problem diff -r 19d10022b2de -r 87a0be76b5b7 treepkg/cmdexpand.py --- 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