Changeset 604 for tea4cups

Show
Ignore:
Timestamp:
03/21/05 15:21:53 (20 years ago)
Author:
jerome
Message:

Moved some code where it should be

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tea4cups/trunk/tea4cups

    r602 r604  
    226226    def __init__(self) : 
    227227        """Initializes the CUPS backend wrapper.""" 
    228         self.gotSigTerm = 0 
    229         self.isCancelled = 0    # did a prehook cancel the print job ? 
    230228        signal.signal(signal.SIGTERM, signal.SIG_IGN) 
    231229        signal.signal(signal.SIGPIPE, signal.SIG_IGN) 
     
    532530        """Launches each hook or tee defined for the current print queue.""" 
    533531        exitcode = 0 
     532        self.isCancelled = 0    # did a prehook cancel the print job ? 
     533        self.gotSigTerm = 0 
    534534        signal.signal(signal.SIGTERM, self.sigtermHandler) 
    535535        serialize = self.isTrue(self.getPrintQueueOption(self.PrinterName, "serialize", ignore=1))