Changeset 2929 for pykota/trunk/bin/cupspykota
- Timestamp:
- 06/09/06 18:27:27 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r2919 r2929 443 443 self.Reason = _("Print job cancelled.") 444 444 os.environ["PYKOTASTATUS"] = "CANCELLED" 445 elif username : 446 self.UserName = username # If cancelled or denied, we don't allow username to be overwritten 447 # NB : we overwrite the billing code even if empty 448 self.JobBillingCode = billingcode 445 else : 446 # don't overwrite anything unless job authorized 447 # to continue to the physical printer. 448 if username and username.strip() : 449 self.UserName = username 450 if billingcode is not None : 451 self.JobBillingCode = billingcode 449 452 self.logdebug("Job ticket overwriting done.") 450 453