Changeset 3512 for tea4cups

Show
Ignore:
Timestamp:
10/19/09 20:53:19 (15 years ago)
Author:
jerome
Message:

Marks cancelled jobs as cancelled in CUPS.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tea4cups/trunk/tea4cups

    r3478 r3512  
    13081308            if self.runCommands("posthook", branches, serialize) : 
    13091309                self.logInfo("An error occured during the execution of posthooks.", "warn") 
    1310  
     1310        else : 
     1311            retcode = 5 # Job cancelled, for CUPS. 
    13111312        for p in [ (k, v) for (k, v) in self.pipes.items() if k != 0 ] : 
    13121313            os.close(p[1][0])