projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add targeted pylint disables
[ganeti-local]
/
lib
/
mcpu.py
diff --git
a/lib/mcpu.py
b/lib/mcpu.py
index
0713aee
..
af4ff1a
100644
(file)
--- a/
lib/mcpu.py
+++ b/
lib/mcpu.py
@@
-50,7
+50,6
@@
def _CalculateLockAttemptTimeouts():
"""Calculate timeouts for lock attempts.
"""
"""Calculate timeouts for lock attempts.
"""
- running_sum = 0
result = [1.0]
# Wait for a total of at least 150s before doing a blocking acquire
result = [1.0]
# Wait for a total of at least 150s before doing a blocking acquire
@@
-137,7
+136,7
@@
class _LockAttemptTimeoutStrategy(object):
return timeout
return timeout
-class OpExecCbBase:
+class OpExecCbBase: # pylint: disable-msg=W0232
"""Base class for OpCode execution callbacks.
"""
"""Base class for OpCode execution callbacks.
"""