Skip to content
GitLab
  • Explore
  • Sign in
  • itmineduitminedu
  • snf-ganeti
  • Repository
  • snf-ganeti
  • lib
  • jqueue.py
Find file Blame History Permalink
  • Guido Trotter's avatar
    MarkUnfinishedOps: update job file on disk · 39ed3a98
    Guido Trotter authored Jun 24, 2010
    
    
    Every time we call MarkUnfinishedOps we do it in a try/finally block
    that updates the job file. With this patch we move the try/finally
    inside. CancelJobUnlocked is removed, because it just becomes a wrapper
    over MarkUnfinishedOps with two constant values.
    
    Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    39ed3a98