hgext/mq.py
changeset 15087 adad8d68fb1f
parent 15085 110d6804bfc6
child 15148 510184e5a09e
--- a/hgext/mq.py	Sun Sep 11 18:49:38 2011 +0200
+++ b/hgext/mq.py	Sun Sep 11 18:49:54 2011 +0200
@@ -295,7 +295,8 @@
                         n, name = entry
                         yield statusentry(bin(n), name)
                     elif l.strip():
-                        self.ui.warn(_('malformated mq status line: %s\n') % entry)
+                        msg = _('malformated mq status line: %s\n') % entry
+                        self.ui.warn(msg)
                     # else we ignore empty lines
             lines = self.opener.read(self.statuspath).splitlines()
             return list(parselines(lines))