Skip to content

Commit cd18723

Browse files
committed
Update showoci.py
1 parent 94050e4 commit cd18723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/showoci/showoci.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,9 @@ def set_parser_arguments(argsList=[]):
342342
try:
343343
result = parser.parse_args(args=argsList)
344344
return result
345-
except:
345+
except Exception:
346346
return None
347347

348-
349348
if len(sys.argv) < 2:
350349
parser.print_help()
351350
return None
@@ -503,3 +502,4 @@ def print_to_json_file(output, file_name, data, header):
503502
##########################################################################
504503
if __name__ == "__main__":
505504
execute_extract()
505+

0 commit comments

Comments
 (0)