[Git][reproducible-builds/diffoscope][master] Ignore case when ordering our file format descriptions.
Chris Lamb
gitlab at salsa.debian.org
Thu May 28 14:21:38 UTC 2020
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
d701ff61 by Chris Lamb at 2020-05-28T15:21:29+01:00
Ignore case when ordering our file format descriptions.
- - - - -
1 changed file:
- diffoscope/comparators/__init__.py
Changes:
=====================================
diffoscope/comparators/__init__.py
=====================================
@@ -163,6 +163,6 @@ class ComparatorManager:
except AttributeError:
pass
- xs = list(sorted(set(gen_descriptions())))
+ xs = list(sorted(set(gen_descriptions()), key=str.upper))
return "{} and {}.\n".format(", ".join(xs[:-1]), xs[-1])
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/d701ff61b39b5aaf042b0363d6cad4412f0541d0
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/d701ff61b39b5aaf042b0363d6cad4412f0541d0
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200528/04d18fad/attachment.htm>
More information about the rb-commits
mailing list