From 578bed66470a134ca18b1165ec11347fff7eb236 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 3 Apr 2019 14:50:36 +0200 Subject: [PATCH] Fix the fixme the obvious way. --- src/simix/simcalls.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/simix/simcalls.py b/src/simix/simcalls.py index 99d27d869c..a650164384 100755 --- a/src/simix/simcalls.py +++ b/src/simix/simcalls.py @@ -8,7 +8,7 @@ import re import glob - +import sys class Arg(object): @@ -274,10 +274,9 @@ if __name__ == '__main__': ok &= all(map(Simcall.check, simcalls)) for k, v in simcalls_dict.items(): ok &= all(map(Simcall.check, v)) - # FIXME: we should not hide it - # if not ok: - # print ("Some checks fail!") - # sys.exit(1) + if not ok: + print ("Some checks fail!") + sys.exit(1) # # popping_accessors.hpp -- 2.20.1