Port htpasswd to python3 compatible syntax (#3672)

pull/18777/head
Michael Scherer 10 years ago committed by Matt Clay
parent 73a33c02a9
commit 31126034b0

@ -251,7 +251,8 @@ def main():
check_file_attrs(module, changed, msg)
module.exit_json(msg=msg, changed=changed)
except Exception, e:
except Exception:
e = get_exception()
module.fail_json(msg=str(e))

Loading…
Cancel
Save