diff options
author | Sebastien Martini <seb@dbzteam.org> | 2011-06-08 11:51:55 +0200 |
---|---|---|
committer | Sebastien Martini <seb@dbzteam.org> | 2011-06-08 11:51:55 +0200 |
commit | 2c7e8f8959d2f8528e0d90847df3605b50985cc8 (patch) | |
tree | 62018b73d64cc7e7a8a8ad90a7bf70b614ed4603 | |
parent | 73f8a2e4fd6ebf7e0bf8e7b1511dddb7e95d2e38 (diff) | |
download | pyinotify-2c7e8f8959d2f8528e0d90847df3605b50985cc8.tar.gz |
Properly subclass logging.Logger (contributed by Charles Cazabon
charlesc@fatdrop.co.uk).
-rwxr-xr-x | python2/pyinotify.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. """ |