Revision 2af8b9c9 lib/client/gnt_job.py

b/lib/client/gnt_job.py
109 109

  
110 110
  qfilter = qlang.MakeSimpleFilter("status", opts.status_filter)
111 111

  
112
  cl = GetClient(query=True)
112
  cl = GetClient()
113 113

  
114 114
  return GenericList(constants.QR_JOB, selected_fields, args, None,
115 115
                     opts.separator, not opts.no_headers,
......
128 128
  @return: the desired exit code
129 129

  
130 130
  """
131
  cl = GetClient(query=True)
131
  cl = GetClient()
132 132

  
133 133
  return GenericListFields(constants.QR_JOB, args, opts.separator,
134 134
                           not opts.no_headers, cl=cl)
......
303 303
    ]
304 304

  
305 305
  qfilter = qlang.MakeSimpleFilter("id", _ParseJobIds(args))
306
  cl = GetClient(query=True)
306
  cl = GetClient()
307 307
  result = cl.Query(constants.QR_JOB, selected_fields, qfilter).data
308 308

  
309 309
  first = True

Also available in: Unified diff