SOLR-299: python client will be replaced, but fix a buglet in the interim

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mike Klaas 2007-09-05 18:16:17 +00:00
parent 50adbdbc2f
commit d38a98d85a
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class SolrConnection:
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):