SolrResponse.__repr__ raises an AttributeError

Bug #768470 reported by Jamu Kakar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txsolr
Invalid
Undecided
Unassigned

Bug Description

For example:

  result = yield self.client.search('*:*')
  print result

Revision history for this message
Jamu Kakar (jkakar) wrote :

The issue is that SolrResponse.__repr__ tried to access
self.rawResponse which doesn't exist. This could be fixed by changing
self.rawResponse to self.responseDict, though, I think a normal repr
would be better. self.responseDict could contain a large amount of
information will make code like 'print response' produce annoying
output.

Revision history for this message
Esteve Fernandez (esteve) wrote :

I'm marking this ticket as "Invalid", as it's a duplicate of bug 707518.

Changed in txsolr:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.