-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify templates by reusing methods #2344
Conversation
@ekohl Look's like your change may be causing some failures on Debian and Ubuntu |
I've submitted the first part as #2366. Once that's merged I'll rebase this and see where it fails. |
e9e9acf
to
a15e4b7
Compare
Rebased and pushed a fix in the WSGI template that I think was the cause for the failure. If this is green, it's ready to be merged. |
It's valid to call .sort on a hash and it'll sort by key. This means you don't need to perform an additional lookup when iterating and makes the code more readable.
a15e4b7
to
0b70544
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logic for this look's good to me and the tests are/were green.
Happy to merge, just had to hit the rebase button first.
@david22swan rebase passed. |
Apologies on the wait, this slipped my mind |
I've been there way too often. |
See individual commits for details. Note I haven't tested this and will rely on CI and review to spot errors.