- Timestamp:
- 03/21/05 13:55:17 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tea4cups/trunk/tea4cups
r599 r600 376 376 available.append('direct %s:// "%s+Nothing" "%s managed Virtual Printer"' \ 377 377 % (self.myname, self.MyName, self.MyName)) 378 available.sort()379 378 return available 380 379 … … 397 396 except ValueError : 398 397 if not device_uri : 399 self.log Info("Not attached to an existing print queue.")398 self.logDebug("Not attached to an existing print queue.") 400 399 backend = "" 401 400 else : … … 540 539 exitcode = status 541 540 signal.signal(signal.SIGTERM, signal.SIG_IGN) 541 if not exitcode : 542 self.logInfo("OK") 543 else : 544 self.logInfo("An error occured, please check CUPS' error_log file.") 542 545 return exitcode 543 546 … … 550 553 branchlist.sort() 551 554 if serialize : 552 self.logDebug(" Serialized %ss" % btypetitle)555 self.logDebug("Begin serialized %ss" % btypetitle) 553 556 if (btype == "tee") and self.RealBackend : 554 557 self.logDebug("Launching original backend %s for printer %s" % (self.RealBackend, self.PrinterName)) … … 566 569 self.logInfo("%s %s on printer %s didn't exit successfully." % (btypetitle, branch, self.PrinterName), "error") 567 570 exitcode = 1 571 self.logDebug("End serialized %ss" % btypetitle) 568 572 else : 569 self.logDebug(" Forked %ss" % btypetitle)573 self.logDebug("Begin forked %ss" % btypetitle) 570 574 pids = {} 571 575 if (btype == "tee") and self.RealBackend : … … 601 605 if branch == "Original backend" : 602 606 os.environ["TEASTATUS"] = str(retcode) 607 self.logDebug("End forked %ss" % btypetitle) 603 608 return exitcode 604 609