Changeset 1515 for pykota/trunk
- Timestamp:
- 06/03/04 00:18:07 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r1514 r1515 24 24 # 25 25 # $Log$ 26 # Revision 1.57 2004/06/02 22:18:07 jalet 27 # I think the bug when cancelling jobs should be fixed right now 28 # 26 29 # Revision 1.56 2004/06/02 21:50:56 jalet 27 30 # Moved the sigterm capturing elsewhere … … 504 507 try : 505 508 os.write(fd, indata) 506 except IOError, msg :509 except (OSError, IOError), msg : 507 510 self.logdebug("Error while writing to real backend's stdin %s : %s" % (fd, msg)) 508 511 else : … … 521 524 try : 522 525 os.write(fd, outdata) 523 except IOError, msg :526 except (OSError, IOError), msg : 524 527 self.logdebug("Error while writing to CUPS back channel (stderr) %s : %s" % (fd, msg)) 525 528 else :