From: Fredrik Tolf Date: Thu, 5 Jul 2012 06:39:34 +0000 (+0200) Subject: Call formatter.node as should be proper from formatter.fragement. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=b60c7ad215785cac80a3b43e7ca828338bfdd765;p=wrw.git Call formatter.node as should be proper from formatter.fragement. --- diff --git a/wrw/sp/util.py b/wrw/sp/util.py index 0b31c65..795bf57 100644 --- a/wrw/sp/util.py +++ b/wrw/sp/util.py @@ -142,7 +142,7 @@ class formatter(object): @classmethod def fragment(cls, out, el, *args, **kw): - cls(out=out, root=el, *args, **kw).element(el) + cls(out=out, root=el, *args, **kw).node(el) def update(self, **ch): ret = type(self).__new__(type(self))