# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 2011-09-11 16:49:54 # Node ID adad8d68fb1f0cdebb1b6acd717b13dd500a3935 # Parent 110d6804bfc6fa8fdd0c20d302af9ee11df23800 mq: split up overly long line diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -295,7 +295,8 @@ class queue(object): 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))