Commit 25a2f1cc by Julien Muchembled

client: remove obsolete comment

FileStorage has been fixed in commit b7ea4e6f708dcded329332b24a9d70211a6b6368
parent e61b017f
......@@ -117,11 +117,6 @@ class Storage(BaseStorage.BaseStorage,
raise POSException.POSKeyError(oid)
def loadBefore(self, oid, tid):
# XXX: FileStorage return an empty string for a deleted object
# but it may cause EOFError exceptions in ZODB.Connection
# and it makes impossible to store empty values.
# We think it's wrong behaviour and raise POSKeyError instead.
# Or maybe we should return None?
try:
return self.app.load(oid, None, tid)
except NEOStorageDoesNotExistError:
......
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 sign in to comment