Commit ee4a0fc6 by Michael DeHaan

Merge pull request #2775 from jhoekx/remove-debug-in-template

Remove leftover debug statement in template code.
parents 143b82c1 ac7a6327
...@@ -453,7 +453,6 @@ def template_from_string(basedir, data, vars): ...@@ -453,7 +453,6 @@ def template_from_string(basedir, data, vars):
try: try:
t = environment.from_string(data) t = environment.from_string(data)
except Exception, e: except Exception, e:
print "DEBUG: data = %s" % data
if 'recursion' in str(e): if 'recursion' in str(e):
raise errors.AnsibleError("recursive loop detected in template string: %s" % data) raise errors.AnsibleError("recursive loop detected in template string: %s" % data)
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment