- Timestamp:
- 03/12/07 20:46:57 (18 years ago)
- Location:
- pykota/trunk
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r3146 r3153 1105 1105 1106 1106 if self.Action not in ("DENY", "CANCEL") : 1107 if not self.didUserConfirm() :1108 self.Action = "CANCEL"1109 self.Reason = _("Print job cancelled.")1110 os.environ["PYKOTASTATUS"] = "CANCELLED"1111 1112 if self.Action not in ("DENY", "CANCEL") :1113 1107 if self.Printer.MaxJobSize and (self.softwareJobSize > self.Printer.MaxJobSize) : 1114 1108 # This printer was set to refuse jobs this large. … … 1164 1158 self.Reason = self.config.getSoftWarn(self.PrinterName) 1165 1159 1160 # If job still allowed to print, should we ask for confirmation ? 1161 if self.Action not in ("DENY", "CANCEL") : 1162 if not self.didUserConfirm() : 1163 self.Action = "CANCEL" 1164 self.Reason = _("Print job cancelled.") 1165 os.environ["PYKOTASTATUS"] = "CANCELLED" 1166 1166 1167 # exports some new environment variables 1167 1168 self.exportReason() -
pykota/trunk/NEWS
r3142 r3153 22 22 PyKota NEWS : 23 23 24 - 1.26alpha4 (2007-03-12) : 25 26 - Don't ask for confirmation anymore if there isn't enough credits 27 to print or if the job was already denied for some reason. 28 24 29 - 1.26alpha3 (2007-01-31) : 25 30 -
pykota/trunk/pykota/version.py
r3141 r3153 22 22 # 23 23 24 __version__ = "1.26alpha 3_unofficial"24 __version__ = "1.26alpha4_unofficial" 25 25 26 26 __doc__ = "PyKota : a complete Printing Quota Solution for CUPS." -
pykota/trunk/TODO
r3147 r3153 24 24 - --orderby and --order ASC|DESC for dumpykota (or --asc | --desc) 25 25 26 - Don't ask for confirmation if the job will be rejected anyway27 because of insufficient credits.28 29 26 - Document the PYKOTA_HOME environment variable. 30 27