Changeset 652 for tea4cups/trunk/tea4cups
- Timestamp:
- 08/26/05 11:44:28 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
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