[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/common - randid.py:1.4
Andreas Jung
andreas@digicool.com
Thu, 25 Apr 2002 13:40:43 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/common
In directory cvs.zope.org:/tmp/cvs-serv10607/common
Modified Files:
randid.py
Log Message:
whrandom->random
=== Zope/lib/python/Products/PluginIndexes/common/randid.py 1.3 => 1.4 ===
#############################################################################
-import whrandom
+import random
-def randid(randint=whrandom.randint, choice=whrandom.choice, signs=(-1,1)):
+def randid(randint=random.randint, choice=random.choice, signs=(-1,1)):
return choice(signs)*randint(1,2000000000)
-del whrandom
+del random