Revision b459a848 lib/asyncnotifier.py

b/lib/asyncnotifier.py
26 26
import logging
27 27

  
28 28
try:
29
  # pylint: disable-msg=E0611
29
  # pylint: disable=E0611
30 30
  from pyinotify import pyinotify
31 31
except ImportError:
32 32
  import pyinotify
......
42 42
  """An asyncore dispatcher for inotify events.
43 43

  
44 44
  """
45
  # pylint: disable-msg=W0622,W0212
45
  # pylint: disable=W0622,W0212
46 46
  def __init__(self, watch_manager, default_proc_fun=None, map=None):
47 47
    """Initializes this class.
48 48

  
......
90 90
    @param watch_manager: inotify watch manager
91 91

  
92 92
    """
93
    # pylint: disable-msg=W0231
93
    # pylint: disable=W0231
94 94
    # no need to call the parent's constructor
95 95
    self.watch_manager = watch_manager
96 96

  
......
168 168
    if self._watch_handle is not None and self.RemoveWatch(self._watch_handle):
169 169
      self._watch_handle = None
170 170

  
171
  # pylint: disable-msg=C0103
171
  # pylint: disable=C0103
172 172
  # this overrides a method in pyinotify.ProcessEvent
173 173
  def process_IN_IGNORED(self, event):
174 174
    # Since we monitor a single file rather than the directory it resides in,
......
182 182
    self._watch_handle = None
183 183
    self._callback(False)
184 184

  
185
  # pylint: disable-msg=C0103
185
  # pylint: disable=C0103
186 186
  # this overrides a method in pyinotify.ProcessEvent
187 187
  def process_IN_MODIFY(self, event):
188 188
    # This gets called when the monitored file is modified. Note that this

Also available in: Unified diff