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

index 3c75c81..f113834 100644 (file)
@@ -259,7 +259,7 @@ class DocumentGalleryHandler(BaseHandler):
             
             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