Use regular strings to allow tests to work

This commit is contained in:
Daniel Hokka Zakrisson 2013-02-28 11:57:18 +01:00
parent 6c9bb35f89
commit 4807fbc8b7

View file

@ -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