From d3a470db0c24c938342e9a1c4561c68c382570ea Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Fri, 21 Mar 2014 02:32:33 +0100 Subject: [PATCH] Remove print statements "print item" raises an exception when type of item is jinja2.runtime.StrictUndefined --- lib/ansible/runner/filter_plugins/core.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/runner/filter_plugins/core.py b/lib/ansible/runner/filter_plugins/core.py index 9b9a9b5cf2b..a99b17f67a1 100644 --- a/lib/ansible/runner/filter_plugins/core.py +++ b/lib/ansible/runner/filter_plugins/core.py @@ -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)