Hi,

The next challenge is the Py3 doesn't have dict.sort nor cmp, most of the time it is just replace it with sorted, but the following is a bit different.

How best change line 737 in ReportDesigner to be compatible with Py2 and Py3?

elements.sort(rw._elementSort)

I think it should be:

elements = sorted(elements, key=new_elementSort method)

But I don't understand how the current _elementSort works.

Werner

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to