script/lib/iri_tweet/setup.py
changeset 889 c774bdf7d3dd
parent 529 99215db3da25
child 1496 184372ec27e2
--- a/script/lib/iri_tweet/setup.py	Tue May 07 18:57:54 2013 +0200
+++ b/script/lib/iri_tweet/setup.py	Tue May 07 19:33:35 2013 +0200
@@ -45,7 +45,7 @@
         if line.strip() == '# -eof meta-':
             break
         acc.append(line)
-        for pattern, handler in pats.items():
+        for pattern, handler in pats.iteritems():
             m = pattern.match(line.strip())
             if m:
                 meta.update(handler(m))