Changeset 2449

Show
Ignore:
Timestamp:
09/16/05 16:33:09 (19 years ago)
Author:
jerome
Message:

The billing code attribute was not correctly initialized whenever the overwrite_jobticket directive
denied the job.

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r2448 r2449  
    923923            self.printInfo(_("Job added to history.")) 
    924924             
    925             if self.BillingCode and self.BillingCode.Exists : 
     925            if hasattr(self, "BillingCode") and self.BillingCode and self.BillingCode.Exists : 
    926926                self.BillingCode.consume(self.JobSize, self.JobPrice) 
    927927                self.printInfo(_("Billing code %s was updated.") % self.BillingCode.BillingCode) 
  • pykota/trunk/NEWS

    r2448 r2449  
    2424    - 1.23alpha29 : 
    2525     
     26        - Fixed a small problem with billing codes. 
     27         
    2628        - Exports some environment variables earlier, to render the script 
    2729          launched by the overwrite_jobticket directive more powerful.