Changeset 8
- Timestamp:
- 05/19/06 16:16:48 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkipplib/trunk/ipplib/ipplib.py
r7 r8 609 609 """Retrieves a print job's attributes.""" 610 610 req = self.newRequest(IPP_GET_JOB_ATTRIBUTES) 611 req.operation["job-uri"] = ("uri", " ipp://localhost:631/jobs/%s" % jobid)611 req.operation["job-uri"] = ("uri", "%s/jobs/%s" % (self.url.replace("http://", "ipp://"), jobid)) 612 612 return req.doRequest() 613 613