diff options
author | Sebastien Martini <seb@dbzteam.org> | 2011-10-11 10:34:47 -0700 |
---|---|---|
committer | Sebastien Martini <seb@dbzteam.org> | 2011-10-11 10:34:47 -0700 |
commit | 92e6abb6cd41ba1b9ea2ebe9789bf0cf04708c2b (patch) | |
tree | d181a503654ce9b2c6ef74210fdad865fc36eed9 | |
parent | b8064287ddc14979a7b1b936f6159d956b25da60 (diff) | |
download | pyinotify-92e6abb6cd41ba1b9ea2ebe9789bf0cf04708c2b.tar.gz |
Fixed error message (reported by Jordan Pittier).
-rwxr-xr-x | python2/pyinotify.py | 2 | ||||
-rwxr-xr-x | python3/pyinotify.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python2/pyinotify.py b/python2/pyinotify.py index 8954802..5f366d7 100755 --- a/python2/pyinotify.py +++ b/python2/pyinotify.py @@ -1780,7 +1780,7 @@ class WatchManager: try: del self._wmd[wd] except KeyError, err: - log.error(str(err)) + log.error('Cannot delete unknown watch descriptor %s' % str(err)) @property def watches(self): diff --git a/python3/pyinotify.py b/python3/pyinotify.py index 05b2846..44ab71f 100755 --- a/python3/pyinotify.py +++ b/python3/pyinotify.py @@ -1720,7 +1720,7 @@ class WatchManager: try: del self._wmd[wd] except KeyError as err: - log.error(str(err)) + log.error('Cannot delete unknown watch descriptor %s' % str(err)) @property def watches(self): |