changeset 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 bfe903b1ff4e
files hgext/mq.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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))