Changeset 15:cfdac78ef056 in livinglogic.python.tipimaid

Show
Ignore:
Timestamp:
11/20/08 18:56:31 (10 years ago)
Author:
Nikolas Tautenhahn <nik@…>
Branch:
default
Message:

flush on HUP, flush+exit on TERM, INT, QUIT

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • liaalh.py

    r14 r15  
    9494    def sighandler(self, signum, frame): 
    9595        self.flush() 
    96         sys.exit(signum) 
     96        if signum in (signal.SIGQUIT, signal.SIGTERM, signal.SIGINT): 
     97            sys.exit(signum) 
    9798 
    9899