From ab0885902e59d04dd75ed34a56bd5ff02ee9fa96 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 28 Feb 2016 09:47:33 +0100 Subject: [PATCH] [mod] autopep8 --- prosopopee/cache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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