diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2019-09-18 15:30:32 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2019-09-18 15:30:32 +1000 |
commit | 25bc7ea7f69597f14e39531ba6d6e2518af58d0a (patch) | |
tree | 590a3a96254406e728430bb7c78e507ac6cf3dab /mediagoblin/gmg_commands/dbupdate.py | |
parent | 8096beab5c605a7433cc6bfc10969a6519b98d2a (diff) | |
download | mediagoblin-25bc7ea7f69597f14e39531ba6d6e2518af58d0a.tar.lz mediagoblin-25bc7ea7f69597f14e39531ba6d6e2518af58d0a.tar.xz mediagoblin-25bc7ea7f69597f14e39531ba6d6e2518af58d0a.zip |
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.
Diffstat (limited to 'mediagoblin/gmg_commands/dbupdate.py')
0 files changed, 0 insertions, 0 deletions