mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Ignore exception in sitecustomize.
This commit is contained in:
parent
ffe6ec97ef
commit
ae16cadcc2
@ -14,7 +14,10 @@ def argv_ready(argv):
|
||||
class argv_placeholder(object):
|
||||
|
||||
def __del__(self):
|
||||
argv_ready(sys.argv)
|
||||
try:
|
||||
argv_ready(sys.argv)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
if hasattr(sys, 'argv'):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user