changeset 2763:81624c8a1035 beta

#548 Fixed issue with non-ascii paths in whoosh indexer
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 30 Aug 2012 19:35:32 +0200
parents ba4fb9c441c6
children c7a27b04ce58
files rhodecode/lib/indexers/daemon.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/indexers/daemon.py	Thu Aug 30 01:47:09 2012 +0200
+++ b/rhodecode/lib/indexers/daemon.py	Thu Aug 30 19:35:32 2012 +0200
@@ -201,9 +201,9 @@
                 author=cs.author,
                 message=cs.message,
                 last=cs.last,
-                added=u' '.join([node.path for node in cs.added]).lower(),
-                removed=u' '.join([node.path for node in cs.removed]).lower(),
-                changed=u' '.join([node.path for node in cs.changed]).lower(),
+                added=u' '.join([safe_unicode(node.path) for node in cs.added]).lower(),
+                removed=u' '.join([safe_unicode(node.path) for node in cs.removed]).lower(),
+                changed=u' '.join([safe_unicode(node.path) for node in cs.changed]).lower(),
                 parents=u' '.join([cs.raw_id for cs in cs.parents]),
             )
             indexed += 1