BUG in lucene.py plugin

Mario Fernández <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
Hi,

I filed a bug report about this, but there is no answer there, and the  
fix is really trivial, so I thought I might as well send the diff here:

--- old_lucene.py	2008-05-21 22:09:28.000000000 -0700
+++ lucene.py	2008-05-21 22:12:40.000000000 -0700
@@ -121,15 +121,17 @@
      """
      urllib.quote(term)
      JAVA_HOME = config['JAVA_HOME']
-    classpath = (':'.join(glob.glob(config['lucene_home'] + '/*.jar') +
+    classpath = ':'.join(glob.glob(config['lucene_home'] + '/*.jar') +
                   [config['lucene_bin']])
      index = config['lucene_index']
      cmd = (JAVA_HOME + ' -cp ' + classpath + ' LuceneSearch ' +  
index + ' ' +
             term)

Cheers,
Mario

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.