You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by kl...@apache.org on 2007/09/05 20:16:18 UTC

svn commit: r573019 - /lucene/solr/trunk/client/python/solr.py

Author: klaas
Date: Wed Sep  5 11:16:17 2007
New Revision: 573019

URL: http://svn.apache.org/viewvc?rev=573019&view=rev
Log:
SOLR-299: python client will be replaced, but fix a buglet in the interim

Modified:
    lucene/solr/trunk/client/python/solr.py

Modified: lucene/solr/trunk/client/python/solr.py
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/client/python/solr.py?rev=573019&r1=573018&r2=573019&view=diff
==============================================================================
--- lucene/solr/trunk/client/python/solr.py (original)
+++ lucene/solr/trunk/client/python/solr.py Wed Sep  5 11:16:17 2007
@@ -121,7 +121,7 @@
     return self.encoder(key)[0]  #to utf8
 
   def delete(self, id):
-    xstr = '<delete><id>'+self.escapeVal(`id`)+'</id></delete>'
+    xstr = '<delete><id>'+self.escapeVal(unicode(id))+'</id></delete>'
     return self.doUpdateXML(xstr)
 
   def deleteByQyery(self, query):