Changeset 652
- Timestamp:
- 08/26/05 11:44:28 (19 years ago)
- Location:
- tea4cups/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
tea4cups/trunk/NEWS
r648 r652 23 23 Tea4CUPS News : 24 24 25 * 3.01 : 26 27 - Fixed an IPP parsing bug in some situations. 28 25 29 * 3.00 : 26 30 -
tea4cups/trunk/tea4cups
r648 r652 39 39 from struct import unpack 40 40 41 version = "3.0 0_unofficial"41 version = "3.01_unofficial" 42 42 43 43 class TeeError(Exception): … … 538 538 (ippfilename, ippmessage) = self.parseIPPRequestFile() 539 539 self.ControlFile = ippfilename 540 (chtype, self.ClientHost) = ippmessage.operation_attributes.get("job-originating-host-name", \ 541 ippmessage.job_attributes.get("job-originating-host-name", (None, None))) 540 john = ippmessage.operation_attributes.get("job-originating-host-name", \ 541 ippmessage.job_attributes.get("job-originating-host-name", \ 542 (None, None))) 543 if type(john) == type([]) : 544 john = john[-1] 545 (chtype, self.ClientHost) = john 542 546 (jbtype, self.JobBilling) = ippmessage.job_attributes.get("job-billing", (None, None)) 543 547