projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '19215-installer' refs #19215
[arvados.git]
/
sdk
/
python
/
arvados
/
diskcache.py
diff --git
a/sdk/python/arvados/diskcache.py
b/sdk/python/arvados/diskcache.py
index f3984bbca493237a868d4c705a710be899fda637..15afa23a8dc3a4c6fdc0052c8d0c16a0ecc55b64 100644
(file)
--- a/
sdk/python/arvados/diskcache.py
+++ b/
sdk/python/arvados/diskcache.py
@@
-36,15
+36,18
@@
class DiskCacheSlot(object):
try:
if value is None:
self.content = None
try:
if value is None:
self.content = None
+ self.ready.set()
return
if len(value) == 0:
# Can't mmap a 0 length file
self.content = b''
return
if len(value) == 0:
# Can't mmap a 0 length file
self.content = b''
+ self.ready.set()
return
if self.content is not None:
# Has been set already
return
if self.content is not None:
# Has been set already
+ self.ready.set()
return
blockdir = os.path.join(self.cachedir, self.locator[0:3])
return
blockdir = os.path.join(self.cachedir, self.locator[0:3])