[mod] autopep8

This commit is contained in:
Laurent Peuch 2016-02-28 09:47:33 +01:00
parent dbdd257c52
commit ab0885902e

View File

@ -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