Switch to a Python 2 and 3 friendly usage of metaclasses
Bug #1035099 reported by
Brian Curtin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu Single Sign On Client | Status tracked in Trunk | |||||
Stable-4-0 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Undecided
|
Brian Curtin | |||
ubuntu-sso-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since it doesn't look like we can avoid the metaclass usage in IPC altogether, we can switch to inheriting from a directly instantiated metaclass. This works on both Python 2 and Python 3.
Related branches
lp:~brian.curtin/ubuntu-sso-client/py3-metaclass
- Eric Casteleijn (community): Approve
- Alejandro J. Cura (community): Approve
-
Diff: 46 lines (+11/-5)2 files modifiedubuntu_sso/utils/ipc.py (+8/-2)
ubuntu_sso/utils/tests/test_ipc.py (+3/-3)
no longer affects: | ubuntu-sso-client (Ubuntu Quantal) |
Changed in ubuntu-sso-client (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.