diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-09-15 11:51:56 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-09-15 11:51:56 -0400 |
commit | 2f3e25ebc628a6a1c07c652143290e7606fc8d02 (patch) | |
tree | feb369722fb93ce4c0df4cfc606e92d4546679ca /src/lib/Server/Lint/Comments.py | |
parent | 88d41171dc7c80a7be92689a59347c0f984562dc (diff) | |
download | bcfg2-2f3e25ebc628a6a1c07c652143290e7606fc8d02.tar.gz bcfg2-2f3e25ebc628a6a1c07c652143290e7606fc8d02.tar.bz2 bcfg2-2f3e25ebc628a6a1c07c652143290e7606fc8d02.zip |
fixed bugs introduced by <Group>/<Client> tags in templated bundles
Diffstat (limited to 'src/lib/Server/Lint/Comments.py')
-rw-r--r-- | src/lib/Server/Lint/Comments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Lint/Comments.py b/src/lib/Server/Lint/Comments.py index 1ea5f295e..19fae1b08 100644 --- a/src/lib/Server/Lint/Comments.py +++ b/src/lib/Server/Lint/Comments.py @@ -57,7 +57,7 @@ class Comments(Bcfg2.Server.Lint.ServerPlugin): try: xdata = lxml.etree.XML(bundle.data) rtype = "bundler" - except AttributeError: + except (lxml.etree.XMLSyntaxError, AttributeError): xdata = lxml.etree.parse(bundle.template.filepath).getroot() rtype = "sgenshi" |