""" mssignals.py: handle signals (c) by Michael Stroeder This module is distributed under the terms of the GPL (GNU GENERAL PUBLIC LICENSE) Version 2 (see http://www.gnu.org/copyleft/gpl.html) $Id: mssignals.py,v 1.2 2005/02/03 08:51:21 michael Exp $ """ import signal class SigPipeException(Exception): pass def PIPESignalHandler(signum,frame): pass def TERMSignalHandler(signum,frame): raise KeyboardInterrupt def USR1SignalHandler(signum,frame): raise KeyboardInterrupt