Split line continuation in 2 steps (style) stable
authorChristian Ebert <blacktrash@gmx.net>
Tue, 05 Feb 2008 18:38:00 +0100
branchstable
changeset 373 56573f49772c
parent 372 d5588b31bcad
child 374 03fc5e667518
Split line continuation in 2 steps (style)
hgkw/keyword.py
--- a/hgkw/keyword.py	Tue Feb 05 18:36:23 2008 +0100
+++ b/hgkw/keyword.py	Tue Feb 05 18:38:00 2008 +0100
@@ -151,8 +151,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)