mirror of https://github.com/ansible/ansible.git
No longer try to import __version__ from release.py. (#16817)
I'm not sure why that would be desirable -- we really want __version__ to come from the controller whereas importing will come from the client node. If it turns out there was a reason to do that, please be sure to use an exception handler that catches all exceptions instead of only catching ImportError: ``` try: from ansible.release import __version__, __author__ except: __version__ = [...] ``` Fixes #16523pull/16676/merge
parent
9497a814a8
commit
7e54c9a468
Loading…
Reference in New Issue