Revision 5bbd3f7f lib/mcpu.py
b/lib/mcpu.py | ||
---|---|---|
158 | 158 |
self.context.glm.add(level, add_locks, acquired=1, shared=share) |
159 | 159 |
except errors.LockError: |
160 | 160 |
raise errors.OpPrereqError( |
161 |
"Coudn't add locks (%s), probably because of a race condition" |
|
161 |
"Couldn't add locks (%s), probably because of a race condition"
|
|
162 | 162 |
" with another job, who added them first" % add_locks) |
163 | 163 |
try: |
164 | 164 |
try: |
... | ... | |
187 | 187 |
@type run_notifier: callable (no arguments) or None |
188 | 188 |
@param run_notifier: this function (if callable) will be called when |
189 | 189 |
we are about to call the lu's Exec() method, that |
190 |
is, after we have aquired all locks |
|
190 |
is, after we have acquired all locks
|
|
191 | 191 |
|
192 | 192 |
""" |
193 | 193 |
if not isinstance(op, opcodes.OpCode): |
Also available in: Unified diff