fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check and update tags on save in editor
[redakcja.git]
/
apps
/
dvcs
/
storage.py
diff --git
a/apps/dvcs/storage.py
b/apps/dvcs/storage.py
index
080e707
..
045b780
100755
(executable)
--- 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)
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
if self.exists(name):
self.delete(name)
return name