Revision a0d2fe2c

b/lib/jqueue.py
411 411
      not_marked = False
412 412

  
413 413
  def Cancel(self):
414
    """Marks job as canceled/-ing if possible.
415

  
416
    @rtype: tuple; (bool, string)
417
    @return: Boolean describing whether job was successfully canceled or marked
418
      as canceling and a text message
419

  
420
    """
414 421
    status = self.CalcStatus()
415 422

  
416 423
    if status not in (constants.JOB_STATUS_QUEUED,

Also available in: Unified diff