Show More
@@ -52,6 +52,7 b' import signal' | |||||
52 | import sys |
|
52 | import sys | |
53 | import tempfile |
|
53 | import tempfile | |
54 | import time |
|
54 | import time | |
|
55 | import random | |||
55 | import re |
|
56 | import re | |
56 | import threading |
|
57 | import threading | |
57 | import killdaemons as killmod |
|
58 | import killdaemons as killmod | |
@@ -1253,7 +1254,11 b' def main():' | |||||
1253 | os.environ['no_proxy'] = '' |
|
1254 | os.environ['no_proxy'] = '' | |
1254 | os.environ['NO_PROXY'] = '' |
|
1255 | os.environ['NO_PROXY'] = '' | |
1255 | os.environ['TERM'] = 'xterm' |
|
1256 | os.environ['TERM'] = 'xterm' | |
1256 | os.environ['PYTHONHASHSEED'] = os.environ.get('PYTHONHASHSEED', 'random') |
|
1257 | if 'PYTHONHASHSEED' not in os.environ: | |
|
1258 | # use a random python hash seed all the time | |||
|
1259 | # we do the randomness ourself to know what seed is used | |||
|
1260 | os.environ['PYTHONHASHSEED'] = str(random.getrandbits(32)) | |||
|
1261 | print 'python hash seed:', os.environ['PYTHONHASHSEED'] | |||
1257 |
|
1262 | |||
1258 | # unset env related to hooks |
|
1263 | # unset env related to hooks | |
1259 | for k in os.environ.keys(): |
|
1264 | for k in os.environ.keys(): |
General Comments 0
You need to be logged in to leave comments.
Login now