diff --git a/tools/daca2-report.py b/tools/daca2-report.py index 6cec33ae7..6ba0e86c2 100644 --- a/tools/daca2-report.py +++ b/tools/daca2-report.py @@ -133,7 +133,7 @@ for lib in (False, True): if messageId == 'syntaxError': continue totalNumber[severity] = totalNumber[severity] + 1 - if not messageId in categories[severity]: + if messageId not in categories[severity]: categories[severity].append(messageId) mainpage.write(