Fix sorting of integrations on Python 3.x.

Review Request #10524 — Created April 10, 2019 and updated

chipx86
Djblets
release-2.0.x
djblets

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.

Summary
Fix sorting of integrations.
chipx86
Review request changed

Summary:

-Fix sorting of integrations.
+Fix sorting of integrations on Python 3.x.
david
  1. Ship It!
  2. 
      
Loading...