[Pypi-checkins] r882 - trunk/pypi

martin.von.loewis python-checkins at python.org
Fri Jan 28 10:01:55 CET 2011


Author: martin.von.loewis
Date: Fri Jan 28 10:01:55 2011
New Revision: 882

Modified:
   trunk/pypi/webui.py
Log:
Don't try to explicitly seed the random module;
use default seeding instead (based on urandom)


Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py	(original)
+++ trunk/pypi/webui.py	Fri Jan 28 10:01:55 2011
@@ -252,7 +252,6 @@
         self.config = handler.config
         self.wfile = handler.wfile
         self.env = env
-        random.seed(int(time.time())%256)
         self.nav_current = None
         self.privkey = None
         self.username = None


More information about the Pypi-checkins mailing list