fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1753: require author info when not logged in
[redakcja.git]
/
lib
/
vstorage
/
__init__.py
diff --git
a/lib/vstorage/__init__.py
b/lib/vstorage/__init__.py
index
a98f8de
..
2708ed7
100644
(file)
--- a/
lib/vstorage/__init__.py
+++ b/
lib/vstorage/__init__.py
@@
-162,7
+162,7
@@
class VersionedStorage(object):
def _file_to_title(self, filename):
assert filename.startswith(self.repo_prefix)
def _file_to_title(self, filename):
assert filename.startswith(self.repo_prefix)
- name = filename[len(self.repo_prefix):].strip('/').split('.', 1)[0]
+ name = filename[len(self.repo_prefix):].strip('/').
r
split('.', 1)[0]
return urlunquote(name)
def __contains__(self, title):
return urlunquote(name)
def __contains__(self, title):