Implement fact cache flushing alongside a command-line argument to invoke it.

This commit is contained in:
Josh Drake 2014-07-03 14:02:26 -05:00 committed by Michael DeHaan
commit 917e868f65
7 changed files with 32 additions and 7 deletions

View file

@ -13,3 +13,6 @@ class BaseCacheModule(object):
def delete(self, key):
raise NotImplementedError("Subclasses of {} must implement the '{}' method".format(self.__class__.__name__, self.__name__))
def flush(self):
raise NotImplementedError("Subclasses of {} must implement the '{}' method".format(self.__class__.__name__, self.__name__))