Mercurial > hg
changeset 6023:ee7df90d1daa
keyword: split line continuation in 2 steps (style)
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Mon, 04 Feb 2008 18:27:36 +0100 |
parents | e5b5010ff7da |
children | 3121f0feefb4 |
files | hgext/keyword.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/keyword.py Mon Feb 04 18:27:36 2008 +0100 +++ b/hgext/keyword.py Mon Feb 04 18:27:36 2008 +0100 @@ -149,8 +149,8 @@ self.ct.use_template(self.templates[kw]) self.ui.pushbuffer() self.ct.show(changenode=fnode, root=self.repo.root, file=self.path) - return '$%s: %s $' % (kw, templatefilters.firstline( - self.ui.popbuffer())) + ekw = templatefilters.firstline(self.ui.popbuffer()) + return '$%s: %s $' % (kw, ekw) return subfunc(kwsub, data)