LadonType arguments aren't handled properly in Python 3

Bug #1053966 reported by Piotr Szymankiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ladon
New
Undecided
Unassigned

Bug Description

LadonType arguments raise ERemeotableException:

'dict_items' object does not support indexing

In soap11.py and soap.py we have:

if len(self.multi_ref_ids[self.cur_id_val].items()[0][1]):
 self.multi_ref_ids[self.cur_id_val] = self.multi_ref_ids[self.cur_id_val].items()[0][1]
else:
 self.multi_ref_ids[self.cur_id_val] = self.pickup_content

But in Python 3 items() returns a dict_items, not a list. Indexing raises an exception.

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.