diff --git a/prosopopee/cache.py b/prosopopee/cache.py index 0503424..c8de61d 100644 --- a/prosopopee/cache.py +++ b/prosopopee/cache.py @@ -3,11 +3,13 @@ import json CACHE_VERSION = 2 + def remove_name(options): noname_options = options.copy() del noname_options["name"] return noname_options + class Cache(object): cache_file_path = os.path.join(os.getcwd(), ".prosopopee_cache") @@ -26,7 +28,6 @@ class Cache(object): print "info: cache format as changed, prune cache" self.cache = {"version": CACHE_VERSION} - def needs_to_be_generated(self, source, target, options): if not os.path.exists(target): return True