1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Pylint: minor code simplifications

Simplify the code in minor ways. Each of this changes fixes a warning
from Pylint 2.4 that doesn't appear with Pylint 1.7.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2020-03-24 18:36:56 +01:00
parent 184c096e95
commit 8b022359e8
4 changed files with 7 additions and 10 deletions

View File

@ -453,7 +453,7 @@ def main():
tests.run_all(inputs)
tests.report(sys.stdout)
if tests.errors:
exit(1)
sys.exit(1)
if __name__ == '__main__':
main()