summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/SELinux.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/SELinux.py')
-rw-r--r--src/lib/Bcfg2/Client/Tools/SELinux.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/SELinux.py b/src/lib/Bcfg2/Client/Tools/SELinux.py
index 7785f3dfa..1c0db904b 100644
--- a/src/lib/Bcfg2/Client/Tools/SELinux.py
+++ b/src/lib/Bcfg2/Client/Tools/SELinux.py
@@ -7,7 +7,7 @@ import struct
import socket
import selinux
import seobject
-import lxml.etree
+import Bcfg2.Client.XML
import Bcfg2.Client.Tools
import Bcfg2.Client.Tools.POSIX
@@ -227,7 +227,7 @@ class SELinuxEntryHandler(object):
def key2entry(self, key):
attrs = self._key2attrs(key)
attrs["type"] = self.etype
- return lxml.etree.Element("SELinux", **attrs)
+ return Bcfg2.Client.XML.Element("SELinux", **attrs)
def _args(self, entry, method):
if hasattr(self, "_%sargs" % method):