[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/FileStorage/FileStorage.py
record_iternext(): "No version" is spelled w/ an empty string,
not None.
Tim Peters
tim.one at comcast.net
Mon Mar 21 18:15:49 EST 2005
Log message for revision 29634:
record_iternext(): "No version" is spelled w/ an empty string, not None.
Changed:
U ZODB/trunk/src/ZODB/FileStorage/FileStorage.py
-=-
Modified: ZODB/trunk/src/ZODB/FileStorage/FileStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/FileStorage/FileStorage.py 2005-03-21 22:55:06 UTC (rev 29633)
+++ ZODB/trunk/src/ZODB/FileStorage/FileStorage.py 2005-03-21 23:15:48 UTC (rev 29634)
@@ -1412,7 +1412,7 @@
except ValueError: # "empty tree" error
next_oid = None
- data, tid = self.load(oid, None) # ignore versions
+ data, tid = self.load(oid, "") # ignore versions
return oid, tid, data, next_oid
More information about the Zodb-checkins
mailing list