Use items() for Python 3 support.
authorBen Sturmfels <ben@sturm.com.au>
Wed, 27 Nov 2019 11:30:19 +0000 (22:30 +1100)
committerBen Sturmfels <ben@sturm.com.au>
Wed, 27 Nov 2019 11:30:19 +0000 (22:30 +1100)
mediagoblin/templates/mediagoblin/utils/exif.html

index b62208e12fa093d62fc4deba22545d80feec3ac5..27ae78b79556866c212a7c38c713e26d815d92eb 100644 (file)
@@ -32,7 +32,7 @@
     <h3>Camera Information</h3>
     <table id="exif_camera_information">
       <tbody>
-      {% for label, value in media.exif_display_data_short().iteritems() %}
+      {% for label, value in media.exif_display_data_short().items() %}
       <tr>
         <td class="col1">{{ label }}</td>
         <td>{{ value }}</td>