fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Complete serialization with pretty printing. Works both in FF and Webkit. This fixes...
[redakcja.git]
/
lib
/
vstorage.py
diff --git
a/lib/vstorage.py
b/lib/vstorage.py
index
01ee7b8
..
b23234a
100644
(file)
--- a/
lib/vstorage.py
+++ b/
lib/vstorage.py
@@
-144,6
+144,7
@@
class VersionedStorage(object):
return urlunquote(name)
def __contains__(self, title):
return urlunquote(name)
def __contains__(self, title):
+ print "Checking ", title
return urlquote(title) in self.repo.dirstate
def __iter__(self):
return urlquote(title) in self.repo.dirstate
def __iter__(self):
@@
-270,6
+271,8
@@
class VersionedStorage(object):
try:
return open(self._file_path(title), "rb")
except IOError:
try:
return open(self._file_path(title), "rb")
except IOError:
+ import traceback
+ print traceback.print_exc()
raise DocumentNotFound()
def page_file_meta(self, title):
raise DocumentNotFound()
def page_file_meta(self, title):