Ignore exception in sitecustomize.

This commit is contained in:
Chris Church
2016-12-07 23:50:58 -05:00
parent ffe6ec97ef
commit ae16cadcc2

View File

@@ -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'):