« Previous | Next » 

Revision 57f8615f

ID57f8615f210e3ff2e0ce8e3183c73f7afc5ed0b1
Parent 10b207d4
Child c2dca9af

Added by Michael Hanselmann almost 16 years ago

Make argument to CleanCacheUnlocked mandatory

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences