X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/31006b86a2e9883d8a4c5fe18128821b325773ab..2608b2bb8cf7acf29feb42ddd8213bd884ae535a:/apps/dvcs/storage.py?ds=sidebyside diff --git a/apps/dvcs/storage.py b/apps/dvcs/storage.py index 080e7077..045b780a 100755 --- a/apps/dvcs/storage.py +++ b/apps/dvcs/storage.py @@ -36,7 +36,7 @@ class GzipFileSystemStorage(FileSystemStorage): content = ContentFile(compress(content.read())) return super(GzipFileSystemStorage, self)._save(name, content) - def get_available_name(self, name): + def get_available_name(self, name, max_length=None): if self.exists(name): self.delete(name) return name