Skip to content

Commit

Permalink
Properly subclass logging.Logger (contributed by Charles Cazabon
Browse files Browse the repository at this point in the history
charlesc@fatdrop.co.uk).
  • Loading branch information
seb-m committed Jun 8, 2011
1 parent 73f8a2e commit 2c7e8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python2/pyinotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _sysctl(self, *args):
return self._libc.sysctl(*args)


class _PyinotifyLogger(logging.Logger):
class _PyinotifyLogger(logging.getLoggerClass()):
"""
Pyinotify logger used for logging unicode strings.
"""
Expand Down

0 comments on commit 2c7e8f8

Please sign in to comment.