summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/DebInit.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-06 09:46:00 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-06 09:46:00 -0400
commitb0d0cce064a93efcc86c4abcc38314f3188f4c72 (patch)
tree120964f923e633a9456de782a47308a491c81100 /src/lib/Bcfg2/Client/Tools/DebInit.py
parent913d320ee02d5e16b61a14d97b2b1111d307d0d3 (diff)
downloadbcfg2-b0d0cce064a93efcc86c4abcc38314f3188f4c72.tar.gz
bcfg2-b0d0cce064a93efcc86c4abcc38314f3188f4c72.tar.bz2
bcfg2-b0d0cce064a93efcc86c4abcc38314f3188f4c72.zip
Revert "removed Bcfg2.Client.XML abstraction layer since we depend directly on lxml.etree"
This reverts commit 913d320ee02d5e16b61a14d97b2b1111d307d0d3.
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/DebInit.py')
-rw-r--r--src/lib/Bcfg2/Client/Tools/DebInit.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/DebInit.py b/src/lib/Bcfg2/Client/Tools/DebInit.py
index f52ca9949..7d5af1127 100644
--- a/src/lib/Bcfg2/Client/Tools/DebInit.py
+++ b/src/lib/Bcfg2/Client/Tools/DebInit.py
@@ -3,7 +3,6 @@
import glob
import os
import re
-import lxml.etree
import Bcfg2.Client.Tools
# Debian squeeze and beyond uses a dependecy based boot sequence
@@ -108,7 +107,7 @@ class DebInit(Bcfg2.Client.Tools.SvcTool):
if self.svcre.match(fname).group('name') not in specified]:
if name not in extra:
extra.append(name)
- return [lxml.etree.Element('Service', name=name, type='deb') for name \
+ return [Bcfg2.Client.XML.Element('Service', name=name, type='deb') for name \
in extra]
def Remove(self, _):