def __cache_do_gc(self, node, time_now): # {{{3
    for key in node.keys():
      child = node[key]
      if isinstance(child, dict):
        last_used = time_now - child[self.__NODE_KEY_LAST_USED]
        if last_used > self.cache_timeout:
          del node[key]
        else:
          self.__cache_do_gc(child, time_now)
dataset/ETHPy150Open xolox/dedupfs/dedupfs.py/DedupFS.__cache_do_gc/original