diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-03 15:38:17 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-03 15:38:27 -0400 |
commit | 913d320ee02d5e16b61a14d97b2b1111d307d0d3 (patch) | |
tree | 64411709ef9a914016ad2f6c1f8146b92e2a5d3b /src/lib/Bcfg2/Client/Tools/SELinux.py | |
parent | fc296f452029120c79c25444195f346855ed6dde (diff) | |
download | bcfg2-913d320ee02d5e16b61a14d97b2b1111d307d0d3.tar.gz bcfg2-913d320ee02d5e16b61a14d97b2b1111d307d0d3.tar.bz2 bcfg2-913d320ee02d5e16b61a14d97b2b1111d307d0d3.zip |
removed Bcfg2.Client.XML abstraction layer since we depend directly on lxml.etree
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/SELinux.py')
-rw-r--r-- | src/lib/Bcfg2/Client/Tools/SELinux.py | 4 |
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 1c0db904b..7785f3dfa 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 Bcfg2.Client.XML +import lxml.etree 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 Bcfg2.Client.XML.Element("SELinux", **attrs) + return lxml.etree.Element("SELinux", **attrs) def _args(self, entry, method): if hasattr(self, "_%sargs" % method): |