Use six.iteritems() in tools/exif.py.
authorBerker Peksag <berker.peksag@gmail.com>
Sun, 8 Jun 2014 05:19:32 +0000 (08:19 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 8 Jun 2014 05:19:32 +0000 (08:19 +0300)
mediagoblin/tools/exif.py

index 691d3a2be84e20243de7a044f427134f7a982c6a..5de9a7724ce4d5d2a2995e4668d5dc8523b09bed 100644 (file)
@@ -134,7 +134,7 @@ def _ratio_to_list(ratio):
 
 
 def get_useful(tags):
-    return dict((key, tag) for (key, tag) in tags.iteritems())
+    return dict((key, tag) for (key, tag) in six.iteritems(tags))
 
 
 def get_gps_data(tags):