1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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:
replacement = instance.run(args, inject=vars)
if expand_lists:
replacement = u",".join([unicode(x) for x in replacement])
replacement = ",".join([str(x) for x in replacement])
except:
if not lookup_fatal:
replacement = None