mercurial/filelog.py
changeset 7622 4dd7b28003d2
parent 6212 e75aab656f46
child 7634 14a4337a9b9b
--- a/mercurial/filelog.py	Mon Jan 12 09:07:02 2009 +0100
+++ b/mercurial/filelog.py	Mon Jan 12 09:16:03 2009 +0100
@@ -50,7 +50,7 @@
         if meta or text.startswith('\1\n'):
             mt = ""
             if meta:
-                mt = [ "%s: %s\n" % (k, v) for k,v in meta.items() ]
+                mt = ["%s: %s\n" % (k, v) for k, v in meta.iteritems()]
             text = "\1\n%s\1\n%s" % ("".join(mt), text)
         return self.addrevision(text, transaction, link, p1, p2)