summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin/Compare.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Admin/Compare.py')
-rw-r--r--src/lib/Server/Admin/Compare.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Compare.py b/src/lib/Server/Admin/Compare.py
index 7a28a8560..c62b4a76a 100644
--- a/src/lib/Server/Admin/Compare.py
+++ b/src/lib/Server/Admin/Compare.py
@@ -32,7 +32,7 @@ class Compare(Bcfg2.Server.Admin.Mode):
for child in new.getchildren():
equiv = old.xpath('%s[@name="%s"]' %
(child.tag, child.get('name')))
- if child.tag in self.important:
+ if child.tag not in self.important:
print("tag type %s not handled" % (child.tag))
continue
if len(equiv) == 0: