From 913d320ee02d5e16b61a14d97b2b1111d307d0d3 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 3 Aug 2012 15:38:17 -0400 Subject: removed Bcfg2.Client.XML abstraction layer since we depend directly on lxml.etree --- src/lib/Bcfg2/Client/Tools/SMF.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/Bcfg2/Client/Tools/SMF.py') diff --git a/src/lib/Bcfg2/Client/Tools/SMF.py b/src/lib/Bcfg2/Client/Tools/SMF.py index 3e0a9da13..fd9747b92 100644 --- a/src/lib/Bcfg2/Client/Tools/SMF.py +++ b/src/lib/Bcfg2/Client/Tools/SMF.py @@ -2,7 +2,7 @@ import glob import os - +import lxml.etree import Bcfg2.Client.Tools @@ -128,5 +128,5 @@ class SMF(Bcfg2.Client.Tools.SvcTool): [allsrv.remove(svc.get('FMRI')) for svc in self.getSupportedEntries() \ if svc.get("FMRI") in allsrv] - return [Bcfg2.Client.XML.Element("Service", type='smf', name=name) \ + return [lxml.etree.Element("Service", type='smf', name=name) \ for name in allsrv] -- cgit v1.2.3-1-g7c22