Commit d3a470db by Pierre-Louis Bonicoli

Remove print statements

"print item" raises an exception when type of item is
jinja2.runtime.StrictUndefined
parent f82ac9f8
......@@ -42,8 +42,6 @@ def failed(*a, **kw):
''' Test if task result yields failed '''
item = a[0]
if type(item) != dict:
print "DEBUG: GOT A"
print item
raise errors.AnsibleFilterError("|failed expects a dictionary")
rc = item.get('rc',0)
failed = item.get('failed',False)
......
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