Use regular strings to allow tests to work
This commit is contained in:
parent
6c9bb35f89
commit
4807fbc8b7
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ def _varFind(basedir, text, vars, lookup_fatal, depth, expand_lists):
|
||||||
try:
|
try:
|
||||||
replacement = instance.run(args, inject=vars)
|
replacement = instance.run(args, inject=vars)
|
||||||
if expand_lists:
|
if expand_lists:
|
||||||
replacement = u",".join([unicode(x) for x in replacement])
|
replacement = ",".join([str(x) for x in replacement])
|
||||||
except:
|
except:
|
||||||
if not lookup_fatal:
|
if not lookup_fatal:
|
||||||
replacement = None
|
replacement = None
|
||||||
|
|
Loading…
Reference in a new issue