diff hgext/mq.py @ 15087:adad8d68fb1f

mq: split up overly long line
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 11 Sep 2011 18:49:54 +0200
parents 110d6804bfc6
children 510184e5a09e
line wrap: on
line diff
--- 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))