[Zope-Checkins] CVS: Zope/lib/python/Products/Sessions -
BrowserIdManager.py:1.19
Jim Fulton
cvs-admin at zope.org
Fri Nov 28 11:46:15 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/Sessions
In directory cvs.zope.org:/tmp/cvs-serv5317/lib/python/Products/Sessions
Modified Files:
BrowserIdManager.py
Log Message:
There is no longer a separate timestamp error.
=== Zope/lib/python/Products/Sessions/BrowserIdManager.py 1.18 => 1.19 ===
--- Zope/lib/python/Products/Sessions/BrowserIdManager.py:1.18 Wed Jul 9 12:25:10 2003
+++ Zope/lib/python/Products/Sessions/BrowserIdManager.py Fri Nov 28 11:46:14 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