fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbe3a85
)
More UTF-8 vs. mercurial vs. os.listdir problems.
author
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 2 Oct 2009 11:43:23 +0000
(13:43 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 2 Oct 2009 11:43:23 +0000
(13:43 +0200)
apps/api/handlers/library_handlers.py
patch
|
blob
|
history
diff --git
a/apps/api/handlers/library_handlers.py
b/apps/api/handlers/library_handlers.py
index
3c75c81
..
f113834
100644
(file)
--- a/
apps/api/handlers/library_handlers.py
+++ b/
apps/api/handlers/library_handlers.py
@@
-259,7
+259,7
@@
class DocumentGalleryHandler(BaseHandler):
for file in os.listdir(dirpath):
if not isinstance(file, unicode):
for file in os.listdir(dirpath):
if not isinstance(file, unicode):
- log.warn(u"File %
s is gallery %s
is not unicode. Ommiting."\
+ log.warn(u"File %
r is gallery %r
is not unicode. Ommiting."\
% (file, dirpath) )
continue
% (file, dirpath) )
continue