[arvados] updated: 2.7.0-6275-g9d07096105
git repository hosting
git at public.arvados.org
Wed Apr 3 21:28:51 UTC 2024
Summary of changes:
sdk/python/arvados/diskcache.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 9d07096105edd0ff289d97cb9951b9ee40dba7d8 (commit)
from 08f8ec2186df6d3111fdd274e71d9e12742f5e9d (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 9d07096105edd0ff289d97cb9951b9ee40dba7d8
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Wed Apr 3 17:28:37 2024 -0400
21639: PEP8 cleanup
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/sdk/python/arvados/diskcache.py b/sdk/python/arvados/diskcache.py
index 22bf73894b..a0b3bbb7c9 100644
--- a/sdk/python/arvados/diskcache.py
+++ b/sdk/python/arvados/diskcache.py
@@ -106,7 +106,7 @@ class DiskCacheSlot(object):
return len(self.content)
def evict(self):
- if self.content is None or len(self.content) == 0:
+ if not self.content:
return
# The mmap region might be in use when we decided to evict
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list