[ARVADOS] updated: 2.1.0-2172-g5b9ed64a1

Git user git at public.arvados.org
Tue Mar 29 22:02:26 UTC 2022


Summary of changes:
 sdk/python/arvados/keep.py | 1 +
 1 file changed, 1 insertion(+)

       via  5b9ed64a169945cf2f9f2bb5932279aef4678f1d (commit)
      from  a46914b92aaae9b9d8eae4021d28360abf835a76 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5b9ed64a169945cf2f9f2bb5932279aef4678f1d
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Tue Mar 29 18:01:54 2022 -0400

    c18941: fix cache_slot_get behavior
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/sdk/python/arvados/keep.py b/sdk/python/arvados/keep.py
index 43d71f17e..53776017d 100644
--- 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:
+                        slot = None  # prevent finally from calling slot.set()
                         return None
 
             self.misses_counter.add(1)

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list