mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
Ignore exception in sitecustomize.
This commit is contained in:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user