From e7a15c1e1b9746083347bac3dd72b885e7b22afd Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Thu, 22 May 2014 17:00:33 +0200 Subject: filter: XMLFilter: pass common params (raw) rather via context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ...bringing also "single point of authority/modification" in this matter + also switch the naming order wrt. proceed_xslt identifiers (because of similarity with imposed "ctxt_" prefix Signed-off-by: Jan Pokorný --- filters/ccs2ccs_pcmk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filters/ccs2ccs_pcmk.py') diff --git a/filters/ccs2ccs_pcmk.py b/filters/ccs2ccs_pcmk.py index 443817c..855800b 100644 --- a/filters/ccs2ccs_pcmk.py +++ b/filters/ccs2ccs_pcmk.py @@ -15,4 +15,4 @@ def ccs2ccs_pcmk(flt_ctxt, in_obj): # there is also a possibility to put service-only directive # as a file under /etc/corosync/service.d/ (called, e.g., pcmk, # see Clusters from Scratch document) - return ('etree', flt_ctxt.proceed_xslt_filter(in_obj, raw=flt_ctxt['raw'])) + return ('etree', flt_ctxt.ctxt_proceed_xslt(in_obj)) -- cgit