Commit b1b52800 by Michael DeHaan

Reapply pep8 changes from previous revert.

parent 01ba1e92
...@@ -825,7 +825,7 @@ class AnsibleModule(object): ...@@ -825,7 +825,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment