summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Lint/Comments.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2014-10-29 23:34:17 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2014-10-30 03:42:34 +0100
commit9290e0f1e91cd6588a85c3e7a127174b6afd49ae (patch)
tree3bf6b09d51bc6e51d2480dfd3152c3749cb4cebd /src/lib/Bcfg2/Server/Lint/Comments.py
parentb5c08f8b33a85fe9b14ed6da090f0801bc5eb63a (diff)
downloadbcfg2-9290e0f1e91cd6588a85c3e7a127174b6afd49ae.tar.gz
bcfg2-9290e0f1e91cd6588a85c3e7a127174b6afd49ae.tar.bz2
bcfg2-9290e0f1e91cd6588a85c3e7a127174b6afd49ae.zip
Lint/TemplateAbuse: fix access to FileInfo xml data
Diffstat (limited to 'src/lib/Bcfg2/Server/Lint/Comments.py')
-rw-r--r--src/lib/Bcfg2/Server/Lint/Comments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/Comments.py b/src/lib/Bcfg2/Server/Lint/Comments.py
index fc4506c12..e96fac1dd 100644
--- a/src/lib/Bcfg2/Server/Lint/Comments.py
+++ b/src/lib/Bcfg2/Server/Lint/Comments.py
@@ -248,7 +248,7 @@ class Comments(Bcfg2.Server.Lint.ServerPlugin):
rtype = "jinja2"
elif isinstance(entry, CfgInfoXML):
self.check_xml(entry.infoxml.name,
- entry.infoxml.pnode.data,
+ entry.infoxml.xdata,
"infoxml")
continue
if rtype: