Commit 14adf5ab authored by Jim Fulton's avatar Jim Fulton

Fixed, _load_oid wasn't cleared if loadBefore returned None.

parent e5141646
...@@ -845,12 +845,11 @@ class ClientStorage(object): ...@@ -845,12 +845,11 @@ class ClientStorage(object):
result = self._server.loadBefore(oid, tid) result = self._server.loadBefore(oid, tid)
if result: with self._lock: # for atomic processing of invalidations
with self._lock: # for atomic processing of invalidations if result and self._load_status:
if self._load_status: data, tid, end = result
data, tid, end = result self._cache.store(oid, tid, end, data)
self._cache.store(oid, tid, end, data) self._load_oid = None
self._load_oid = None
return result return result
......
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