Fix sorting of integrations on Python 3.x.

Review Request #10524 — Created April 10, 2019 and submitted — Latest diff uploaded

Information

Djblets
release-2.0.x

Reviewers

The code to sort integrations was using the entire dictionary as a key.
This happened to work on Python 2.x, but failed entirely on 3.x. We
now use the integration name as the key instead, which is what was
intended originally.

Manually tested on Python 2.7 and 3.7.

Unit tests pass on both.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Fix sorting of integrations.
The code to sort integrations was using the entire dictionary as a key. This *happened* to work on Python 2.x, but failed entirely on 3.x. We now use the integration name as the key instead, which is what was intended originally.
47845450c76531356b40b1f4ddbc1b525dc69d00 Christian Hammond
djblets/integrations/views.py
Loading...