summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-06-16 12:41:30 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-06-17 08:02:53 -0400
commit18368164103d047cf742f0679b4a8cb9ab5cb9c2 (patch)
treef1bd241e19bf896f488839f7150700a889a56603
parentc4cad655eb44d9351f0477b6ff49f8c7e039cd9b (diff)
downloadbcfg2-18368164103d047cf742f0679b4a8cb9ab5cb9c2.tar.gz
bcfg2-18368164103d047cf742f0679b4a8cb9ab5cb9c2.tar.bz2
bcfg2-18368164103d047cf742f0679b4a8cb9ab5cb9c2.zip
updated Lint.Comments for new properties XML handling
-rw-r--r--src/lib/Server/Lint/Comments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Lint/Comments.py b/src/lib/Server/Lint/Comments.py
index 8e86cc564..09443d4c0 100644
--- a/src/lib/Server/Lint/Comments.py
+++ b/src/lib/Server/Lint/Comments.py
@@ -70,7 +70,7 @@ class Comments(Bcfg2.Server.Lint.ServerPlugin):
props = self.core.plugins['Properties']
for propfile, pdata in props.store.entries.items():
if os.path.splitext(propfile)[1] == ".xml":
- self.check_xml(pdata.name, pdata.data, 'properties')
+ self.check_xml(pdata.name, pdata.xdata, 'properties')
def check_metadata(self):
""" check metadata files for required headers """