Remove save kwarg--that's what generate() does!

This commit is contained in:
Matthew Tretter 2012-10-17 00:31:38 -04:00
parent a08edaca56
commit 41fa197212
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ class ImageSpecCacheFile(BaseIKFile, ImageFile):
def validate(self):
return self.spec.image_cache_backend.validate(self)
def generate(self, save=True):
def generate(self):
if self.source_file: # TODO: Should we error here or something if the source_file doesn't exist?
# Process the original image file.
content = self.spec.apply(self.source_file)

View file

@ -67,7 +67,7 @@ class Simple(CachedValidationBackend):
Generates a new image by running the processors on the source file.
"""
file.generate(save=True)
file.generate()
def invalidate(self, file):
"""