summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Lint/TemplateAbuse.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2014-10-31 08:02:38 -0500
committerSol Jerome <sol.jerome@gmail.com>2014-10-31 08:02:38 -0500
commitf8fd790838e7c21954d4dbaba50ea1509f33fc94 (patch)
tree50ab5e038bed2377d8bb581182d1ffa818564bd2 /src/lib/Bcfg2/Server/Lint/TemplateAbuse.py
parent3c91a884b16bcdd4502ba835623436eb0c4b688e (diff)
parenta57d26e10aac0b8d539243f9919a18b2fb929f69 (diff)
downloadbcfg2-f8fd790838e7c21954d4dbaba50ea1509f33fc94.tar.gz
bcfg2-f8fd790838e7c21954d4dbaba50ea1509f33fc94.tar.bz2
bcfg2-f8fd790838e7c21954d4dbaba50ea1509f33fc94.zip
Merge branch 'fix-lint' of https://github.com/AlexanderS/bcfg2
Diffstat (limited to 'src/lib/Bcfg2/Server/Lint/TemplateAbuse.py')
-rw-r--r--src/lib/Bcfg2/Server/Lint/TemplateAbuse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/TemplateAbuse.py b/src/lib/Bcfg2/Server/Lint/TemplateAbuse.py
index 5a80a5884..a437c1318 100644
--- a/src/lib/Bcfg2/Server/Lint/TemplateAbuse.py
+++ b/src/lib/Bcfg2/Server/Lint/TemplateAbuse.py
@@ -62,7 +62,7 @@ class TemplateAbuse(Bcfg2.Server.Lint.ServerPlugin):
# finally, check for executable permissions in info.xml
for entry in entryset.entries.values():
if isinstance(entry, CfgInfoXML):
- for pinfo in entry.infoxml.pnode.data.xpath("//FileInfo"):
+ for pinfo in entry.infoxml.xdata.xpath("//FileInfo/Info"):
try:
mode = int(
pinfo.get("mode",