summaryrefslogtreecommitdiff
path: root/tools/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test.py')
-rwxr-xr-xtools/test.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/test.py b/tools/test.py
index 48d4a1a1ea..4cb0bd631d 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -1349,9 +1349,7 @@ def ReadConfigurationInto(path, sections, defs):
if prefix_match:
prefix = SplitPath(prefix_match.group(1).strip())
continue
- print "Malformed line: '%s'." % line
- return False
- return True
+ raise Exception("Malformed line: '%s'." % line)
# ---------------