summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Lint/Validate.py2
-rw-r--r--src/lib/Server/Lint/__init__.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Server/Lint/Validate.py b/src/lib/Server/Lint/Validate.py
index a561232b6..8a8406e73 100644
--- a/src/lib/Server/Lint/Validate.py
+++ b/src/lib/Server/Lint/Validate.py
@@ -51,7 +51,7 @@ class Validate(Bcfg2.Server.Lint.ServerlessPlugin):
schemadir))
except IOError:
e = sys.exc_info()[1]
- self.LintError("input/output error", e.message)
+ self.LintError("input-output-error", e.message)
continue
except:
self.LintError("schema-failed-to-parse",
diff --git a/src/lib/Server/Lint/__init__.py b/src/lib/Server/Lint/__init__.py
index 013cbf2ba..63cb2463b 100644
--- a/src/lib/Server/Lint/__init__.py
+++ b/src/lib/Server/Lint/__init__.py
@@ -88,7 +88,8 @@ class ErrorHandler (object):
"xml-failed-to-read":"error",
"xml-failed-to-verify":"error",
"merge-cfg":"warning",
- "merge-probes":"warning",}
+ "merge-probes":"warning",
+ "input-output-error": "error"}
def __init__(self, config=None):
self.errors = 0