summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Lint/RequiredAttrs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Lint/RequiredAttrs.py b/src/lib/Server/Lint/RequiredAttrs.py
index e181650c1..e7ac2da37 100644
--- a/src/lib/Server/Lint/RequiredAttrs.py
+++ b/src/lib/Server/Lint/RequiredAttrs.py
@@ -85,6 +85,7 @@ class RequiredAttrs(Bcfg2.Server.Lint.ServerPlugin):
self.LintError("unknown-path-type",
"Unknown path type %s: %s" %
(pathtype, self.RenderXML(entry)))
+ return
if 'dev_type' in required_attrs:
dev_type = entry.get('dev_type')