SSO client is not compatible with python3

Bug #1256365 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Fix Released
Undecided
Leo Arias

Bug Description

The ssoclient project is using iteritems on a dictionary, which in python3 was changed to just items()

Tags: elopio
Revision history for this message
Leo Arias (elopio) wrote :

[09:45:55] <elopio> should I just change it to items(), or use six to make sure it will work the same in py2 and py3?
[09:53:08] <pindonga> elopio, I'd say, if you can make a single codebase work with py2 and py3 without external deps the better
[09:53:31] <pindonga> maybe the list is not that big and we can use .items() without harm
[09:54:51] <pindonga> I think it's safe to use .items()
[09:55:13] <elopio> pindonga: ok, I'll propose an MP with the change.

Leo Arias (elopio)
Changed in canonical-identity-provider:
status: In Progress → Fix Committed
Changed in canonical-identity-provider:
status: Fix Committed → Fix Released
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.