mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 11:55:04 -02:30
Ignore exception in sitecustomize.
This commit is contained in:
@@ -14,7 +14,10 @@ def argv_ready(argv):
|
|||||||
class argv_placeholder(object):
|
class argv_placeholder(object):
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
argv_ready(sys.argv)
|
try:
|
||||||
|
argv_ready(sys.argv)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
if hasattr(sys, 'argv'):
|
if hasattr(sys, 'argv'):
|
||||||
|
|||||||
Reference in New Issue
Block a user