dagparser: replace format with str
authorMartin Geisler <mg@aragost.com>
Tue, 15 Jun 2010 10:00:07 +0200
changeset 11344 32a9744acf1e
parent 11343 f325db39c8b9
child 11345 4b81f82b03e3
dagparser: replace format with str
mercurial/dagparser.py
--- a/mercurial/dagparser.py	Tue Jun 15 09:55:59 2010 +0200
+++ b/mercurial/dagparser.py	Tue Jun 15 10:00:07 2010 +0200
@@ -363,8 +363,8 @@
                     yield '#' + data
                     yield '\n'
                 else:
-                    raise util.Abort("invalid event type in dag: "
-                                     + format((type, data)))
+                    raise util.Abort(_("invalid event type in dag: %s")
+                                     % str((type, data)))
         if run:
             yield '+' + str(run)