Make the snapshot decision based on disk type
[ganeti-local] / lib / asyncnotifier.py
index a0fb2d0..63c020f 100644 (file)
 import asyncore
 
 try:
-    from pyinotify import pyinotify
+  # pylint: disable-msg=E0611
+  from pyinotify import pyinotify
 except ImportError:
-    import pyinotify
+  import pyinotify
 
 
 class AsyncNotifier(asyncore.file_dispatcher):
   """An asyncore dispatcher for inotify events.
 
   """
-
+  # pylint: disable-msg=W0622,W0212
   def __init__(self, watch_manager, default_proc_fun=None, map=None):
     """Initializes this class.