Revision d45a824b lib/rapi/rlib2.py

b/lib/rapi/rlib2.py
295 295
    @return: a dictionary with jobs id and uri.
296 296

  
297 297
    """
298
    client = self.GetClient()
298
    client = self.GetClient(query=True)
299 299

  
300 300
    if self.useBulk():
301 301
      bulkdata = client.QueryJobs(None, J_FIELDS_BULK)
......
324 324

  
325 325
    """
326 326
    job_id = self.items[0]
327
    result = self.GetClient().QueryJobs([job_id, ], J_FIELDS)[0]
327
    result = self.GetClient(query=True).QueryJobs([job_id, ], J_FIELDS)[0]
328 328
    if result is None:
329 329
      raise http.HttpNotFound()
330 330
    return baserlib.MapFields(J_FIELDS, result)

Also available in: Unified diff