Revision f56377a3

b/lib/jstore.py
134 134
        # There must be a serious problem
135 135
        raise errors.JobQueueError("Can't read/parse the job queue serial file")
136 136

  
137
      if not must_lock:
138
        # There's no need for more error handling. Closing the lock file below in
139
        # case of an error will unlock it anyway.
140
        queue_lock.Unlock()
141

  
137 142
  except:
138 143
    queue_lock.Close()
139 144
    raise

Also available in: Unified diff