Remove a function that was never used.

This commit is contained in:
Dave Halter
2017-05-26 12:23:30 -04:00
parent 8ae5fc60d6
commit f997b91a12

View File

@@ -136,14 +136,6 @@ def _save_to_file_system(grammar_hash, path, item, cache_path=None):
pickle.dump(item, f, pickle.HIGHEST_PROTOCOL) pickle.dump(item, f, pickle.HIGHEST_PROTOCOL)
def remove_old_modules(self):
"""
# TODO Might want to use such a function to clean up the cache (if it's
# too old). We could potentially also scan for old files in the
# directory and delete those.
"""
def clear_cache(cache_path=None): def clear_cache(cache_path=None):
if cache_path is None: if cache_path is None:
cache_path = _default_cache_path cache_path = _default_cache_path