From a2c965ea7e8c30378bb8d8f5c7977c45eb830423 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Thu, 20 May 2010 11:33:35 +0100
Subject: [PATCH] Comment on AsyncNotifier upstream's availability

Since we contributed AsyncNotifier back to the upstream pyinotify
project, we'll be able, one day, to remove the ganeti version of that
code. For now we still need it to support older distributions, but
having a note about when we'll be able to remove it is nice.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/asyncnotifier.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/asyncnotifier.py b/lib/asyncnotifier.py
index 63c020fa5..57d76571c 100644
--- a/lib/asyncnotifier.py
+++ b/lib/asyncnotifier.py
@@ -31,6 +31,9 @@ except ImportError:
   import pyinotify
 
 
+# We contributed the AsyncNotifier class back to python-pyinotify, and it's
+# part of their codebase since version 0.8.7. This code can be removed once
+# we'll be ready to depend on python-pyinotify >= 0.8.7
 class AsyncNotifier(asyncore.file_dispatcher):
   """An asyncore dispatcher for inotify events.
 
-- 
GitLab