Revision b459a848 lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
23 | 23 |
|
24 | 24 |
""" |
25 | 25 |
|
26 |
# pylint: disable-msg=C0103,R0201,R0904
|
|
26 |
# pylint: disable=C0103,R0201,R0904 |
|
27 | 27 |
# C0103: Invalid name, since call_ are not valid |
28 | 28 |
# R0201: Method could be a function, we keep all rpcs instance methods |
29 | 29 |
# as not to change them back and forth between static/instance methods |
... | ... | |
48 | 48 |
from ganeti import runtime |
49 | 49 |
|
50 | 50 |
# pylint has a bug here, doesn't see this import |
51 |
import ganeti.http.client # pylint: disable-msg=W0611
|
|
51 |
import ganeti.http.client # pylint: disable=W0611 |
|
52 | 52 |
|
53 | 53 |
|
54 | 54 |
# Timeout for connecting to nodes (seconds) |
... | ... | |
262 | 262 |
args = (msg, ecode) |
263 | 263 |
else: |
264 | 264 |
args = (msg, ) |
265 |
raise ec(*args) # pylint: disable-msg=W0142
|
|
265 |
raise ec(*args) # pylint: disable=W0142 |
|
266 | 266 |
|
267 | 267 |
|
268 | 268 |
def _AddressLookup(node_list, |
Also available in: Unified diff