Fix compatibility with Pyinotify 0.8
authorMichael Hanselmann <hansmi@google.com>
Wed, 13 Oct 2010 13:13:44 +0000 (15:13 +0200)
committerMichael Hanselmann <hansmi@google.com>
Wed, 13 Oct 2010 13:54:35 +0000 (15:54 +0200)
commitac96953da33049f4d8017a0cce6475e93b3ec037
tree53be198f2760781d9b55669db89563410f204ce3
parent073c31a584d983739237546a03b25e433f063464
Fix compatibility with Pyinotify 0.8

I didn't know why the code previously used
“pyinotify.EventsCodes.ALL_FLAGS” instead of using the flags from
“pyinotify.EventsCodes” directly. Turns out that Pyinotify 0.8 has them
in “pyinotify”, not “pyinotify.EventsCodes”.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
daemons/ganeti-rapi
lib/asyncnotifier.py