args should be a local variable, otherwise multiple calls to substituteAll interfere with each other. Workaround is to do

args=

before calling substituteAll

Submitted on 25 February 2008 at 14:16

Log in to post comments