From 7b1b2eeefed6603f4c52a47d1570e5370b6c2604 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> Date: Sat, 7 Aug 2021 23:32:46 +0200 Subject: [PATCH] LGTM warning: Unnecessary pass Unnecessary 'pass' statement. https://lgtm.com/rules/910088/ Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> --- www/html.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/www/html.py b/www/html.py index 1710ea43..5a895224 100755 --- a/www/html.py +++ b/www/html.py @@ -223,7 +223,6 @@ except getopt.GetoptError as ex: print (ex.msg) usage() sys.exit(1) - pass for option, value in options: if option == '-d': @@ -233,8 +232,6 @@ for option, value in options: elif option == '-h': usage() sys.exit(0) - pass - pass # Handle special case VAR_ORIGIN idx = len(replace) @@ -246,7 +243,6 @@ if not arguments: print ("No source file specified") usage() sys.exit(1) - pass if writefile > 0: fname = arguments[0].split('.')[0] -- 2.50.1