##// END OF EJS Templates
fixed whoosh indexing possible unicode decode errors
marcink -
r557:29ec9ddb default
parent child Browse files
Show More
@@ -106,8 +106,8 b' class WhooshIndexingDaemon(object):'
106 try:
106 try:
107 os.stat(path)
107 os.stat(path)
108 writer.add_document(owner=unicode(repo.contact),
108 writer.add_document(owner=unicode(repo.contact),
109 repository=u"%s" % repo.name,
109 repository=safe_unicode(repo.name),
110 path=u"%s" % path,
110 path=safe_unicode(path),
111 content=u_content,
111 content=u_content,
112 modtime=os.path.getmtime(path),
112 modtime=os.path.getmtime(path),
113 extension=ext)
113 extension=ext)
General Comments 0
You need to be logged in to leave comments. Login now