diff --git a/devtools/code-tools/normalize-usercode.py b/devtools/code-tools/normalize-usercode.py index d7915c97da70b6184f608295490eda08e43ece3b..d690d4d9ec4aa9a46cde9fbe6649b5e3d044e9b7 100755 --- a/devtools/code-tools/normalize-usercode.py +++ b/devtools/code-tools/normalize-usercode.py @@ -30,9 +30,8 @@ def restitute_sample(ti, tc): if not mn: raise Exception("Normalized code has no function get_sample") if mn.group(2) != header: - raise Exception( - f'Signature of function get_sample has changed from "{header}" to "{mn.group(1)}"' - ) + print(f'WARNING: Signature of function get_sample has changed from "{header}" to ' + '"{mn.group(1)}"') t = re.sub(pat, mi.group(1), tc)