1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix code typo (#20478)

This commit is contained in:
Marcos Diez 2017-01-19 21:47:01 -03:00 committed by Matt Davis
parent bcdfdc0cc3
commit 1839c8699d

View file

@ -78,7 +78,7 @@ class LookupModule(LookupBase):
elif isinstance(result, dict):
new_dict = {}
for key in result.keys():
value = reslut[key] # python2 and 3 compatible....
value = result[key] # python2 and 3 compatible....
new_dict[key] = self.convert_mongo_result_to_valid_json(value)
return new_dict
elif isinstance(result, datetime.datetime):