mq: split up overly long line
authorDan Villiom Podlaski Christiansen <danchr@gmail.com>
Sun, 11 Sep 2011 18:49:54 +0200
changeset 15087 adad8d68fb1f
parent 15085 110d6804bfc6
child 15089 bfe903b1ff4e
mq: split up overly long line
hgext/mq.py
--- 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))