Another incompatibility with python 2.4

This commit is contained in:
Dag Wieers 2015-06-17 15:22:10 +02:00 committed by Matt Clay
parent 35d4b3530b
commit 6dc8696e02

View file

@ -343,7 +343,7 @@ def main():
array_add=array_add, value=value, state=state, path=path) array_add=array_add, value=value, state=state, path=path)
changed = defaults.run() changed = defaults.run()
module.exit_json(changed=changed) module.exit_json(changed=changed)
except OSXDefaultsException as e: except OSXDefaultsException, e:
module.fail_json(msg=e.message) module.fail_json(msg=e.message)
# /main ------------------------------------------------------------------- }}} # /main ------------------------------------------------------------------- }}}