Fixing up some flake8 issues

This commit is contained in:
Matthew Jones
2015-12-17 10:48:15 -05:00
parent 9db80bd9fc
commit 910f9bd4a3
9 changed files with 2 additions and 8 deletions

View File

@@ -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',