mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
Don't remove script at this point
This commit is contained in:
parent
06c75aeecf
commit
7b6c5f68a9
@ -1119,10 +1119,10 @@ class RunInventoryUpdate(BaseTask):
|
||||
f.close()
|
||||
os.chmod(path, stat.S_IRUSR|stat.S_IWUSR|stat.S_IXUSR)
|
||||
args.append(runpath)
|
||||
try:
|
||||
shutil.rmtree(runpath, True)
|
||||
except OSError:
|
||||
pass
|
||||
# try:
|
||||
# shutil.rmtree(runpath, True)
|
||||
# except OSError:
|
||||
# pass
|
||||
verbosity = getattr(settings, 'INVENTORY_UPDATE_VERBOSITY', 1)
|
||||
args.append('-v%d' % verbosity)
|
||||
if settings.DEBUG:
|
||||
|
Loading…
Reference in New Issue
Block a user