Port htpasswd to python3 compatible syntax (#3672)

reviewable/pr18780/r1
Michael Scherer 8 years ago committed by Toshio Kuratomi
parent 1d4d74fef9
commit 5846a5549d

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