comparison treepkg/cmdexpand.py @ 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
comparison
equal deleted inserted replaced
574:19d10022b2de 575:87a0be76b5b7
110 else: 110 else:
111 assert match.group("invalid") != None 111 assert match.group("invalid") != None
112 raise ValueError("In %r the characters after the '@'" 112 raise ValueError("In %r the characters after the '@'"
113 " do not match a python identifier" % word) 113 " do not match a python identifier" % word)
114 else: 114 else:
115 words[index:index +1] = expandword(word, kw).split(" ") 115 words[index] = expandword(word, kw)
116 return words 116 return words
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)