mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 17:51:06 -03:30
Fixing up some flake8 issues
This commit is contained in:
@@ -463,6 +463,7 @@ def wrap_args_with_proot(args, cwd, **kwargs):
|
||||
- /tmp (except for own tmp files)
|
||||
'''
|
||||
from awx.main.conf import tower_settings
|
||||
from django.conf import settings
|
||||
new_args = [getattr(settings, 'AWX_PROOT_CMD', 'proot'), '-v',
|
||||
str(getattr(settings, 'AWX_PROOT_VERBOSITY', '0')), '-r', '/']
|
||||
hide_paths = ['/etc/tower', '/var/lib/awx', '/var/log',
|
||||
|
||||
Reference in New Issue
Block a user