summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Connon <richard@connon.me.uk>2014-02-14 12:10:04 +0000
committerRichard Connon <richard@connon.me.uk>2014-02-14 12:10:04 +0000
commit06bc91f8a8c919e5e552f46386841a75fcc3619a (patch)
tree36198e4d4fec38acc9acb5445863beac14058cc7
parent9ac25c247afc348c90197f33039c066d2a9d4247 (diff)
downloadbcfg2-06bc91f8a8c919e5e552f46386841a75fcc3619a.tar.gz
bcfg2-06bc91f8a8c919e5e552f46386841a75fcc3619a.tar.bz2
bcfg2-06bc91f8a8c919e5e552f46386841a75fcc3619a.zip
Correct XML source for bundles in default ACL Lint
-rw-r--r--src/lib/Bcfg2/Server/Lint/RequiredAttrs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/RequiredAttrs.py b/src/lib/Bcfg2/Server/Lint/RequiredAttrs.py
index 77934d720..fce90154e 100644
--- a/src/lib/Bcfg2/Server/Lint/RequiredAttrs.py
+++ b/src/lib/Bcfg2/Server/Lint/RequiredAttrs.py
@@ -157,7 +157,7 @@ class RequiredAttrs(Bcfg2.Server.Lint.ServerPlugin):
if 'Bundler' in self.core.plugins:
for bundle in self.core.plugins['Bundler'].entries.values():
- xdata = bundle.pnode.data
+ xdata = lxml.etree.XML(bundle.data)
for path in xdata.xpath("//BoundPath"):
check_acl(path)
if 'Rules' in self.core.plugins: