fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update translation
[redakcja.git]
/
apps
/
dvcs
/
storage.py
diff --git
a/apps/dvcs/storage.py
b/apps/dvcs/storage.py
index
4bf292b
..
080e707
100755
(executable)
--- a/
apps/dvcs/storage.py
+++ b/
apps/dvcs/storage.py
@@
-1,7
+1,11
@@
+# -*- coding: utf-8 -*-
+#
+# This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from __future__ import unicode_literals
from __future__ import unicode_literals
-import os
-from django.core.files.base import ContentFile, File
+from django.core.files.base import ContentFile
from django.core.files.storage import FileSystemStorage
try:
from django.core.files.storage import FileSystemStorage
try:
@@
-35,4
+39,4
@@
class GzipFileSystemStorage(FileSystemStorage):
def get_available_name(self, name):
if self.exists(name):
self.delete(name)
def get_available_name(self, name):
if self.exists(name):
self.delete(name)
- return name
\ No newline at end of file
+ return name