diff options
author | Amit Markel <amitmarkel@users.noreply.github.com> | 2020-07-14 13:23:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 11:23:13 +0100 |
commit | a8886fd1cf9755d08ed348cd05560b42c249c9a5 (patch) | |
tree | 07e50d7bea9d87b9ab87ce6357dcffd703b300e5 /docs/news.txt | |
parent | 7b6cfdfe132a5f5e6631a5fe8d3492538c1d0d78 (diff) | |
download | paste-git-a8886fd1cf9755d08ed348cd05560b42c249c9a5.tar.gz |
Py3-compat middleware.py's make_table's item sort (#55)
In py2 an array is created and sorted, and in py3 an array of the items needs to be realized in the same fashion hence the sorted(•) fix. Otherwise the code will fail on Python 3 since dict.items() returns a view on the items which doesn't have a .sort() method.
Diffstat (limited to 'docs/news.txt')
0 files changed, 0 insertions, 0 deletions