mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
tools: fail tests if malformed status file
PR-URL: https://github.com/nodejs/node/pull/16703 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
2145b3734d
commit
d7eaa3ffb4
1 file changed
+1
-3
+1
-3
@@ -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)
|
||||
|
||||
|
||||
# ---------------
|
||||
|
||||
Reference in new issue
Block a user