[Zope-Checkins] CVS: Zope/lib/python/Products/Sessions -
BrowserIdManager.py:1.18.12.1
Jim Fulton
cvs-admin at zope.org
Sat Nov 15 07:11:42 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/Sessions
In directory cvs.zope.org:/tmp/cvs-serv24762/lib/python/Products/Sessions
Modified Files:
Tag: zodb33-devel-branch
BrowserIdManager.py
Log Message:
Changed to no-longer use the no-longer available timestamp errors.
=== Zope/lib/python/Products/Sessions/BrowserIdManager.py 1.18 => 1.18.12.1 ===
--- Zope/lib/python/Products/Sessions/BrowserIdManager.py:1.18 Wed Jul 9 12:25:10 2003
+++ Zope/lib/python/Products/Sessions/BrowserIdManager.py Sat Nov 15 07:11:40 2003
@@ -523,15 +523,13 @@
return (bid[:8], bid[8:19])
-def isAWellFormedBrowserId(bid, binerr=binascii.Error,
- timestamperr=TimeStamp.error):
+def isAWellFormedBrowserId(bid, binerr=binascii.Error):
try:
rnd, ts = getBrowserIdPieces(bid)
int(rnd)
getB64TStampToInt(ts)
return bid
- except (TypeError, ValueError, AttributeError, IndexError, binerr,
- timestamperr):
+ except (TypeError, ValueError, AttributeError, IndexError, binerr):
return None
More information about the Zope-Checkins
mailing list