projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a46914b
)
c18941: fix cache_slot_get behavior
author
Peter Amstutz <peter.amstutz@curii.com>
Tue, 29 Mar 2022 22:01:54 +0000
(18:01 -0400)
committer
Peter Amstutz <peter.amstutz@curii.com>
Tue, 29 Mar 2022 22:02:19 +0000
(18:02 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
sdk/python/arvados/keep.py
patch
|
blob
|
history
diff --git
a/sdk/python/arvados/keep.py
b/sdk/python/arvados/keep.py
index 43d71f17e4cb160238b729d740390f3f7a5bdde4..53776017dbad07cfc1e73f96f0f0d978626a4f98 100644
(file)
--- a/
sdk/python/arvados/keep.py
+++ b/
sdk/python/arvados/keep.py
@@
-1105,6
+1105,7
@@
class KeepClient(object):
"failed to read {}".format(loc_s))
return blob
else:
"failed to read {}".format(loc_s))
return blob
else:
+ slot = None # prevent finally from calling slot.set()
return None
self.misses_counter.add(1)
return None
self.misses_counter.add(1)