• Michael Hanselmann's avatar
    Make argument to CleanCacheUnlocked mandatory · 57f8615f
    Michael Hanselmann authored
    Not passing the argument means it has the value None. Iterating None
    doesn't work:
      >>> "123" in None
      Traceback (most recent call last):
        File "<stdin>", line 1, in ?
      TypeError: iterable argument required
    Hence I rename it to "exclude" instead of "exceptions", which may be
    confusing, and make it mandatory. If one wants to clean all cache
    entries, an empty list can be passed.
    Reviewed-by: iustinp