mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-08 14:49:59 -04:00
Fix pylint warnings about comparison to True
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
fa69def8e3
commit
242df48cab
@ -152,9 +152,9 @@ def fix_style(src_file_list: List[str]) -> int:
|
|||||||
"""
|
"""
|
||||||
Fix the code style. This takes 2 passes of Uncrustify.
|
Fix the code style. This takes 2 passes of Uncrustify.
|
||||||
"""
|
"""
|
||||||
if fix_style_single_pass(src_file_list) != True:
|
if not fix_style_single_pass(src_file_list):
|
||||||
return 1
|
return 1
|
||||||
if fix_style_single_pass(src_file_list) != True:
|
if not fix_style_single_pass(src_file_list):
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
# Guard against future changes that cause the codebase to require
|
# Guard against future changes that cause the codebase to require
|
||||||
|
Loading…
x
Reference in New Issue
Block a user