mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Identation + misc PEP8 fixes.
This commit is contained in:
parent
bbb359870e
commit
54c902f102
1 changed files with 20 additions and 20 deletions
|
@ -781,7 +781,7 @@ class AnsibleModule(object):
|
||||||
def exit_json(self, **kwargs):
|
def exit_json(self, **kwargs):
|
||||||
''' return from the module, without error '''
|
''' return from the module, without error '''
|
||||||
self.add_path_info(kwargs)
|
self.add_path_info(kwargs)
|
||||||
if not kwargs.has_key('changed'):
|
if not 'changed' in kwargs:
|
||||||
kwargs['changed'] = False
|
kwargs['changed'] = False
|
||||||
print self.jsonify(kwargs)
|
print self.jsonify(kwargs)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue