dsoprea / PyInotify

An efficient and elegant inotify (Linux filesystem activity monitor) library for Python. Python 2 and 3 compatible.
GNU General Public License v2.0
242 stars 73 forks source link

`superficial` parameter not forwarded to remove_watch_with_id() #82

Closed jamercee closed 4 years ago

jamercee commented 4 years ago

remove_watch() accepts superficial=False, but does nothing with it. It looks like the author intended to forward it onto self.remove_watch_with_id(wd). Not really a big deal, since defaulting to False causes it to be removed from the OS event queue. But, it should probably either be passed, or removed from the signature.

dsoprea commented 4 years ago

Fixed via 7202fc4f837c90dc676cf638c31fe0312b889fae