Revision b459a848 lib/server/noded.py

b/lib/server/noded.py
21 21

  
22 22
"""Ganeti node daemon"""
23 23

  
24
# pylint: disable-msg=C0103,W0142
24
# pylint: disable=C0103,W0142
25 25

  
26 26
# C0103: Functions in this module need to have a given name structure,
27 27
# and the name of the daemon doesn't match
......
49 49
from ganeti import serializer
50 50
from ganeti import netutils
51 51

  
52
import ganeti.http.server # pylint: disable-msg=W0611
52
import ganeti.http.server # pylint: disable=W0611
53 53

  
54 54

  
55 55
queue_lock = None
......
61 61
  @return: None for success, otherwise an exception object
62 62

  
63 63
  """
64
  global queue_lock # pylint: disable-msg=W0603
64
  global queue_lock # pylint: disable=W0603
65 65

  
66 66
  if queue_lock is not None:
67 67
    return None
......
129 129
  """
130 130
  # too many public methods, and unused args - all methods get params
131 131
  # due to the API
132
  # pylint: disable-msg=R0904,W0613
132
  # pylint: disable=R0904,W0613
133 133
  def __init__(self, *args, **kwargs):
134 134
    http.server.HttpServer.__init__(self, *args, **kwargs)
135 135
    self.noded_pid = os.getpid()
......
1019 1019
  return (mainloop, server)
1020 1020

  
1021 1021

  
1022
def ExecNoded(options, args, prep_data): # pylint: disable-msg=W0613
1022
def ExecNoded(options, args, prep_data): # pylint: disable=W0613
1023 1023
  """Main node daemon function, executed with the PID file held.
1024 1024

  
1025 1025
  """

Also available in: Unified diff