Fix Python3 and pylint issue

This commit is contained in:
Pablo Suárez Hernández 2018-03-07 11:20:44 +00:00
parent 726ca3044d
commit 1476ace558
No known key found for this signature in database
GPG key ID: A9683F02B512C911

View file

@ -538,8 +538,9 @@ def _get_result(func_ret, changes):
return res
def _get_result_in_depth(node):
for key, val in node.iteritems():
for key, val in six.iteritems(node):
if key == 'result' and val is False:
return False
elif isinstance(val, dict):