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

@ -35,3 +35,6 @@ class CacheModule(object):
def delete(self, key):
del self._cache[key]
def flush(self):
self._cache = {}