projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dc508d
)
use dict.iteritems() instead of dict.items()
author
András Veres-Szentkirályi
<vsza@vsza.hu>
Thu, 21 Feb 2013 10:31:25 +0000
(11:31 +0100)
committer
Joar Wandborg
<joar@wandborg.se>
Fri, 22 Feb 2013 21:24:29 +0000
(22:24 +0100)
mediagoblin/tools/exif.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/tools/exif.py
b/mediagoblin/tools/exif.py
index 2c0a11437995eec92971a27d2107d1ffcccb60d6..20227aa854d58ab886c961342d558a2764058f79 100644
(file)
--- a/
mediagoblin/tools/exif.py
+++ b/
mediagoblin/tools/exif.py
@@
-153,7
+153,7
@@
def get_gps_data(tags):
'latitude': tags['GPS GPSLatitude'],
'longitude': tags['GPS GPSLongitude']}
- for key, dat in dms_data.items():
+ for key, dat in dms_data.ite
rite
ms():
gps_data[key] = (
lambda v:
float(v[0].num) / float(v[0].den) \