Skip to content

Commit bf48570

Browse files
authored
Remove signal handling in main execution (#23)
1 parent ab07f18 commit bf48570

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/pgcachewatch/__main__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import asyncio
2-
import contextlib
3-
import signal
42

53
from pgcachewatch import cli
64

75
if __name__ == "__main__":
8-
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
9-
with contextlib.suppress(KeyboardInterrupt):
10-
asyncio.run(cli.main())
6+
asyncio.run(cli.main())

0 commit comments

Comments
 (0)