Revert "seed random() with urandom"

This reverts commit 12b851a1b8.
This commit is contained in:
urlbot
2015-08-30 10:50:37 +02:00
parent 12b851a1b8
commit 9a8721265b
3 changed files with 3 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ if '__main__' == __name__:
print('''this is a library file, which is not meant to be executed''')
exit(-1)
import sys, time, pickle, os, logging, random
import sys, time, pickle, os, logging
from local_config import conf
RATE_GLOBAL = 0x01
@@ -29,8 +29,6 @@ logging.basicConfig(
log = logging.getLogger()
log.plugin = log.info # ... probably fix this sometime (FIXME)
random.seed(os.urandom(8))
def debug_enabled():
# return True
return False