summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Lint
diff options
context:
space:
mode:
authorJason Kincl <kincljc@ornl.gov>2013-05-29 07:17:51 -0400
committerJason Kincl <kincljc@ornl.gov>2013-05-29 07:17:51 -0400
commit51d781db3ee335bc15581c62ee90fd71ab2bdd53 (patch)
tree3b2d338eb6e120017d5187571fe720e547066bda /src/lib/Bcfg2/Server/Lint
parent8a909207d3bbac898b1cdef21946cf6b70a70f51 (diff)
downloadbcfg2-51d781db3ee335bc15581c62ee90fd71ab2bdd53.tar.gz
bcfg2-51d781db3ee335bc15581c62ee90fd71ab2bdd53.tar.bz2
bcfg2-51d781db3ee335bc15581c62ee90fd71ab2bdd53.zip
Changing order of logic
Diffstat (limited to 'src/lib/Bcfg2/Server/Lint')
-rw-r--r--src/lib/Bcfg2/Server/Lint/Comments.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/Comments.py b/src/lib/Bcfg2/Server/Lint/Comments.py
index 080d0b821..f028e225e 100644
--- a/src/lib/Bcfg2/Server/Lint/Comments.py
+++ b/src/lib/Bcfg2/Server/Lint/Comments.py
@@ -143,8 +143,8 @@ class Comments(Bcfg2.Server.Lint.ServerPlugin):
self.check_xml(os.path.join(self.metadata.data, "groups.xml"),
self.metadata.groups_xml.data,
"metadata")
- if self.has_all_xincludes("clients.xml"):
- if hasattr(self.metadata, "clients_xml"):
+ if hasattr(self.metadata, "clients_xml"):
+ if self.has_all_xincludes("clients.xml"):
self.check_xml(os.path.join(self.metadata.data, "clients.xml"),
self.metadata.clients_xml.data,
"metadata")