21639: Add type hint to cachelist
[arvados.git] / sdk / python / arvados / diskcache.py
index a0b3bbb7c952344f8db1af3d4f42f13b6c28015c..528a7d28b58146af1a33eac0ada4b746a9eaa12d 100644 (file)
@@ -244,7 +244,7 @@ class DiskCacheSlot(object):
 
         # Map in all the files we found, up to maxslots, if we exceed
         # maxslots, start throwing things out.
-        cachelist = collections.OrderedDict()
+        cachelist: collections.OrderedDict = collections.OrderedDict()
         for b in blocks:
             got = DiskCacheSlot.get_from_disk(b[0], cachedir)
             if got is None: