In Python 3, dict methods dict.keys() return “views” instead of lists.
Therefore, the code:
impls = sorted(matrix.targets.keys())
impls.sort()
should be replaced by:
impls = sorted(matrix.targets.keys())
to be Python 3 compatible.
Change-Id: I50477b0ac43adff9e9b0220bd7c48d6ebb6471b3