[mod] autopep8
This commit is contained in:
parent
dbdd257c52
commit
ab0885902e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user