daca2-report.py: fixed pep8 warning 'E713 test for membership should be 'not in''

This commit is contained in:
Daniel Marjamäki 2018-02-13 09:31:05 +01:00
parent fe1ae7240a
commit 22db3d77f7
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ for lib in (False, True):
if messageId == 'syntaxError': if messageId == 'syntaxError':
continue continue
totalNumber[severity] = totalNumber[severity] + 1 totalNumber[severity] = totalNumber[severity] + 1
if not messageId in categories[severity]: if messageId not in categories[severity]:
categories[severity].append(messageId) categories[severity].append(messageId)
mainpage.write( mainpage.write(