From 4807fbc8b7d2177abc78103c5ef4e591fd795c20 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 28 Feb 2013 11:57:18 +0100 Subject: [PATCH] Use regular strings to allow tests to work --- lib/ansible/utils/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/template.py b/lib/ansible/utils/template.py index 2fefe9bd7aa..fd135b0b395 100644 --- a/lib/ansible/utils/template.py +++ b/lib/ansible/utils/template.py @@ -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