Changeset 138


Ignore:
Timestamp:
08/03/10 06:16:17 (11 years ago)
Author:
sc
Message:

thinkgear_emulator/puzzlebox_thinkgear_server.py:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • thinkgear_emulator/puzzlebox_thinkgear_server.py

    r133 r138  
    554554def exitHandler(signal, frame): 
    555555         
    556         if DEBUG: 
     556        if DEBUG > 1: 
    557557                print "exitHandler: Interrupt signal caught" 
    558                 #print "signal:", 
    559                 #print signal 
    560558         
    561559        server.exitThread(callThreadQuit=False) 
     
    570568         
    571569        # Perform correct KeyboardInterrupt handling 
    572         #signal.signal(signal.SIGINT, signal.SIG_DFL) 
    573         signal.signal(signal.SIGINT, exitHandler) 
     570        signal.signal(signal.SIGINT, signal.SIG_DFL) 
     571        #signal.signal(signal.SIGINT, exitHandler) 
    574572         
    575573        #log = puzzlebox_logger.puzzlebox_logger(logfile='server_thinkgear') 
Note: See TracChangeset for help on using the changeset viewer.