From 589cc6049d03224653c7d5bab9438cf4f4a97431 Mon Sep 17 00:00:00 2001 From: Jonathan Clohessy Date: Mon, 26 Feb 2018 21:08:22 +0000 Subject: [PATCH] Modified misra.py to fix issue introduced during last change (#1101) Added additional elif confition to cause error checks to ignore .dump files Previous change meant that .dump always falls into else statement and script exits --- addons/misra.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/misra.py b/addons/misra.py index 085eb0b77..d817fd168 100644 --- a/addons/misra.py +++ b/addons/misra.py @@ -1119,6 +1119,8 @@ for arg in sys.argv[1:]: loadRuleTexts(filename) elif arg.startswith('--misra-pdf='): loadRuleTextsFromPdf(arg[12:]) + elif ".dump" in arg: + continue else: print('Fatal error: unhandled argument ' + arg) sys.exit(1)