changeset 11344:32a9744acf1e

dagparser: replace format with str
author Martin Geisler <mg@aragost.com>
date Tue, 15 Jun 2010 10:00:07 +0200
parents f325db39c8b9
children 4b81f82b03e3
files mercurial/dagparser.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)