X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/31006b86a2e9883d8a4c5fe18128821b325773ab..03ac012472fcaa2c0d8011ff8e71a2d861d75575:/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