Skip to content

Commit 32b754f

Browse files
authored
remove exit_on_error (#521)
Change-Id: Ic4015704546f113e920fd173fb7b827b280cfe31
1 parent 7342a62 commit 32b754f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

google/generativeai/notebook/cmd_line_parser.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,15 +373,10 @@ def _create_parser(
373373
epilog = ""
374374

375375
# Commands
376-
extra_args = {}
377-
if sys.version_info[0:2] >= (3, 9):
378-
extra_args["exit_on_error"] = False
379-
380376
parser = argument_parser.ArgumentParser(
381377
prog=system_name,
382378
description=description,
383379
epilog=epilog,
384-
**extra_args,
385380
)
386381
subparsers = parser.add_subparsers(dest="cmd")
387382
_create_run_parser(

0 commit comments

Comments
 (0)