Commit 64ea2000 authored by Tim Peters's avatar Tim Peters

record_iternext(): "No version" is spelled w/ an empty string, not None.

parent 767b81ab
...@@ -1412,7 +1412,7 @@ class FileStorage(BaseStorage.BaseStorage, ...@@ -1412,7 +1412,7 @@ class FileStorage(BaseStorage.BaseStorage,
except ValueError: # "empty tree" error except ValueError: # "empty tree" error
next_oid = None next_oid = None
data, tid = self.load(oid, None) # ignore versions data, tid = self.load(oid, "") # ignore versions
return oid, tid, data, next_oid return oid, tid, data, next_oid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment