From 4f1f13b100dbdbbf786ef8b3db8cf96596cce115 Mon Sep 17 00:00:00 2001 From: Deon Bredenhann Date: Tue, 31 Dec 2013 13:40:21 +0200 Subject: [PATCH] Remove trailing space --- lib/ansible/runner/filter_plugins/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/filter_plugins/core.py b/lib/ansible/runner/filter_plugins/core.py index 495e17e2fa..f44089c750 100644 --- a/lib/ansible/runner/filter_plugins/core.py +++ b/lib/ansible/runner/filter_plugins/core.py @@ -58,7 +58,7 @@ def changed(*a, **kw): if not 'changed' in item: changed = False if ('results' in item # some modules return a 'results' key - and type(item['results']) == list + and type(item['results']) == list and type(item['results'][0]) == dict): for result in item['results']: changed = changed or result.get('changed', False)