aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/views.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2014-09-16 15:07:33 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-09-16 15:07:33 -0500
commit13f37e75eb9a1f3e68b183eacfd1a51572d452c2 (patch)
tree3043307061f9cbbc12d851c3cd349ad3e0a9e8ed /mediagoblin/edit/views.py
parent21cbf8294eba59b29d56f30ce32b0cc1f9587981 (diff)
downloadmediagoblin-13f37e75eb9a1f3e68b183eacfd1a51572d452c2.tar.lz
mediagoblin-13f37e75eb9a1f3e68b183eacfd1a51572d452c2.tar.xz
mediagoblin-13f37e75eb9a1f3e68b183eacfd1a51572d452c2.zip
Fix iteritems usage on python 3
This commit sponsored by Ben (Free Software Melbourne) Finney. Thanks!
Diffstat (limited to 'mediagoblin/edit/views.py')
-rw-r--r--mediagoblin/edit/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/edit/views.py b/mediagoblin/edit/views.py
index 59d851f6..7359f520 100644
--- a/mediagoblin/edit/views.py
+++ b/mediagoblin/edit/views.py
@@ -455,7 +455,7 @@ def edit_metadata(request, media):
return redirect_obj(request, media)
if len(form.media_metadata) == 0:
- for identifier, value in media.media_metadata.iteritems():
+ for identifier, value in six.iteritems(media.media_metadata):
if identifier == "@context": continue
form.media_metadata.append_entry({
'identifier':identifier,