From 3c664dccc8e49ecfcee31323b5ef7cbe06f783f7 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 12 Jun 2019 11:31:38 +0200 Subject: [PATCH] some pylint complaints --- contrib/utilities/checkdoxygen.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/utilities/checkdoxygen.py b/contrib/utilities/checkdoxygen.py index e365a6ff77..fb4a946c71 100755 --- a/contrib/utilities/checkdoxygen.py +++ b/contrib/utilities/checkdoxygen.py @@ -18,10 +18,10 @@ def check_doxygen_groups(lines): elif "@}" in l: count = count -1 if count < 0: - sys.exit("Error in file '%s' in line %d"%(args[0],lineno)) + sys.exit("Error in file '%s' in line %d"%(args[0], lineno)) lineno = lineno + 1 - if (count != 0): + if count != 0: sys.exit("Error: missing closing braces in file '%s'"%(args[0])) return @@ -36,21 +36,21 @@ def check_empty_lines_in_tables(lines): elif "" in l: count = count -1 if count < 0: - sys.exit("Error in file '%s' in line %d"%(args[0],lineno)) + sys.exit("Error in file '%s' in line %d"%(args[0], lineno)) - if count==1: - if l.strip()=="": - sys.exit("Error: empty line inside html table in file '%s' in line %d"%(args[0],lineno)) + if count == 1: + if l.strip() == "": + sys.exit("Error: empty line inside html table in file '%s' in line %d"%(args[0], lineno)) lineno = lineno + 1 - if (count != 0): + if count != 0: sys.exit("Error: mismatched html table tags in file '%s'"%(args[0])) return -args=sys.argv +args = sys.argv args.pop(0) f = open(args[0]) -- 2.39.5