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):
result = self._server.loadBefore(oid, tid)
if result:
with self._lock: # for atomic processing of invalidations
if self._load_status:
data, tid, end = result
self._cache.store(oid, tid, end, data)
self._load_oid = None
with self._lock: # for atomic processing of invalidations
if result and self._load_status:
data, tid, end = result
self._cache.store(oid, tid, end, data)
self._load_oid = None
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