Update lib/ansible/constants.py

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
pull/81947/head
Brian Coca 7 months ago committed by GitHub
parent 32da99617d
commit 40433860fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,7 +60,7 @@ def __getattr__(config_constant):
try:
value = config.get_config_value(config_constant, variables=globals())
except Exception as e:
raise AttributeError(e)
raise AttributeError(e) from e
globals()[config_constant] = value

Loading…
Cancel
Save