Fix state_verbose: False output

This commit is contained in:
Ryan Lane 2014-10-31 14:08:20 -07:00
parent 573390d8ad
commit 53d8304b15

View File

@ -349,7 +349,7 @@ def _strip_clean(returns):
'''
rm_tags = []
for tag in returns:
if not isinstance(tag, dict):
if isinstance(tag, dict):
continue
if returns[tag]['result'] and not returns[tag]['changes']:
rm_tags.append(tag)