From 2c7e8f8959d2f8528e0d90847df3605b50985cc8 Mon Sep 17 00:00:00 2001 From: Sebastien Martini Date: Wed, 8 Jun 2011 11:51:55 +0200 Subject: Properly subclass logging.Logger (contributed by Charles Cazabon charlesc@fatdrop.co.uk). --- python2/pyinotify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python2') diff --git a/python2/pyinotify.py b/python2/pyinotify.py index 3e5fcd1..f4e3ae4 100755 --- a/python2/pyinotify.py +++ b/python2/pyinotify.py @@ -244,7 +244,7 @@ class _CtypesLibcINotifyWrapper(INotifyWrapper): return self._libc.sysctl(*args) -class _PyinotifyLogger(logging.Logger): +class _PyinotifyLogger(logging.getLoggerClass()): """ Pyinotify logger used for logging unicode strings. """ -- cgit v1.2.1