expand_lists should default to False

pull/1993/merge
Daniel Hokka Zakrisson 12 years ago
parent 7a49230e85
commit bc709e7b67

@ -219,7 +219,7 @@ def varReplace(basedir, raw, vars, lookup_fatal=True, depth=0, expand_lists=Fals
return ''.join(done)
def template(basedir, varname, vars, lookup_fatal=True, expand_lists=True, depth=0):
def template(basedir, varname, vars, lookup_fatal=True, expand_lists=False, depth=0):
''' templates a data structure by traversing it and substituting for other data structures '''
if isinstance(varname, basestring):

Loading…
Cancel
Save