Code cleanups

PEP8 cleanups. Add keyword arguments.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-21 00:56:22 -04:00
parent fbe0e14b82
commit 4baeb6ce7e
219 changed files with 1891 additions and 507 deletions
@@ -239,7 +239,6 @@ class DocumentPage(models.Model):
storage_documentimagecache.delete(cache_filename)
raise
def invalidate_cache(self):
storage_documentimagecache.delete(self.cache_filename)
for cached_image in self.cached_images.all():