Changeset - 29ec9ddbe258
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2010-10-07 18:30:50
marcin@python-works.com
fixed whoosh indexing possible unicode decode errors
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/indexers/daemon.py
Show inline comments
 
@@ -106,8 +106,8 @@ class WhooshIndexingDaemon(object):
 
        try:
 
            os.stat(path)
 
            writer.add_document(owner=unicode(repo.contact),
 
                            repository=u"%s" % repo.name,
 
                            path=u"%s" % path,
 
                            repository=safe_unicode(repo.name),
 
                            path=safe_unicode(path),
 
                            content=u_content,
 
                            modtime=os.path.getmtime(path),
 
                            extension=ext)             
0 comments (0 inline, 0 general)