Skip to content

Commit 7f6b87d

Browse files
committed
Drop unused cli.exit() function
1 parent 2feac0e commit 7f6b87d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pgactivity/cli.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -377,12 +377,6 @@ def get_parser() -> ArgumentParser:
377377
return parser
378378

379379

380-
def exit(msg: str) -> None:
381-
print("pg_activity: error: %s" % msg)
382-
print('Try "pg_activity --help" for more information.')
383-
sys.exit(1)
384-
385-
386380
def main() -> None:
387381
if os.name != "posix":
388382
sys.exit("FATAL: Platform not supported.")

0 commit comments

Comments
 (0)