Yes, or if you need that attribute for all jobs,
c.getJobs(requested_attributes=['job-id', 'job-media-sheets-
completed']).
You should be getting the job-uri attribute with c.getJobs() though, and
you're not. Could you set the environment variable PYCUPS_DEBUG=1 and
see what output you get? I
On Wed, Sep 21, 2011 at 08:26:43AM -, Tim Waugh wrote:
Yes, or if you need that attribute for all jobs,
c.getJobs(requested_attributes=['job-id', 'job-media-sheets-
completed']).
You should be getting the job-uri attribute with c.getJobs() though, and
you're not. Could you set the
How do you mean empty values? You should get a dict of job_id:
{'job_uri': str}, as by default the only attributes returned now are
job_id and job_uri.
To specify other attributes, use the request_attributes parameter (make
sure to include 'job_id', of course).
--
You received this bug
On Tue, Sep 20, 2011 at 12:33:42PM -, Tim Waugh wrote:
How do you mean empty values? You should get a dict of job_id:
{'job_uri': str}, as by default the only attributes returned now are
job_id and job_uri.
To specify other attributes, use the request_attributes parameter (make
sure to
Documented in https://bugzilla.redhat.com/show_bug.cgi?id=584806
apparently. So it looks like I need to do something like:
c.getJobAttributes(202)['job-media-sheets-completed']
instead. Thanks for the pointer.
** Bug watch added: Red Hat Bugzilla #584806