mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 12:27:37 -02:30
Fix flake8 E302 errors.
This commit is contained in:
@@ -5,6 +5,7 @@ import sys
|
||||
# Based on http://stackoverflow.com/a/6879344/131141 -- Initialize tower display
|
||||
# callback as early as possible to wrap ansible.display.Display methods.
|
||||
|
||||
|
||||
def argv_ready(argv):
|
||||
if argv and os.path.basename(argv[0]) in {'ansible', 'ansible-playbook'}:
|
||||
import tower_display_callback # noqa
|
||||
|
||||
Reference in New Issue
Block a user