grab-site/patched-wpull
2015-07-18 11:02:24 +00:00

16 lines
327 B
Python
Executable File

#!/usr/bin/python3
"""
Like wpull, except don't install a handler for SIGINT or SIGTERM,
because we install our own in wpull_hooks.py
"""
from wpull.app import Application
def noop_setup_signal_handlers(self):
pass
Application.setup_signal_handlers = noop_setup_signal_handlers
import wpull.__main__
wpull.__main__.main()