mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03:30
Misc Python 3 changes: execfile(), file(), reduce(), StandardError
This commit is contained in:
@@ -25,4 +25,5 @@ import ansible
|
||||
|
||||
# Because of the way Ansible loads plugins, it's not possible to import
|
||||
# ansible.plugins.callback.minimal when being loaded as the minimal plugin. Ugh.
|
||||
execfile(os.path.join(os.path.dirname(ansible.__file__), 'plugins', 'callback', 'minimal.py'))
|
||||
with open(os.path.join(os.path.dirname(ansible.__file__), 'plugins', 'callback', 'minimal.py')) as in_file:
|
||||
exec(in_file.read())
|
||||
|
||||
Reference in New Issue
Block a user