Another incompatibility with python 2.4

reviewable/pr18780/r1
Dag Wieers 10 years ago
parent f967aa376d
commit 685653b23b

@ -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 ------------------------------------------------------------------- }}}

Loading…
Cancel
Save