Update metadata_display plugin for Python 3.
authorBen Sturmfels <ben@sturm.com.au>
Wed, 18 Sep 2019 05:30:32 +0000 (15:30 +1000)
committerBen Sturmfels <ben@sturm.com.au>
Wed, 18 Sep 2019 05:30:32 +0000 (15:30 +1000)
commit25bc7ea7f69597f14e39531ba6d6e2518af58d0a
tree590a3a96254406e728430bb7c78e507ac6cf3dab
parent8096beab5c605a7433cc6bfc10969a6519b98d2a
Update metadata_display plugin for Python 3.

Switching from iteritems() to items() is technically less memory efficient on
Python 2, but this appeared be a significantly cleaner approach than adding six
to the template context. It's also the right choice assuming the project will at
some point go Python 3 only.
mediagoblin/plugins/metadata_display/templates/mediagoblin/plugins/metadata_display/metadata_table.html