Jason Tackaberry wrote: > Author: tack > Date: Wed Apr 5 19:26:50 2006 > New Revision: 1382 > > Modified: > trunk/beacon/src/inotify/__init__.py > > Log: > Clean dischi's last commit :) > > > Modified: trunk/beacon/src/inotify/__init__.py > ============================================================================== > --- trunk/beacon/src/inotify/__init__.py (original) > +++ trunk/beacon/src/inotify/__init__.py Wed Apr 5 19:26:50 2006 > @@ -72,8 +72,8 @@ > if path not in self._watches_by_path: > return False > > - _inotify.rm_watch(self._fd, self._watches_by_path[path][1]) > - signal, wd = self._watches_by_path[path] > + wd = self._watches_by_path[path][1] > + _inotify.rm_watch(self._fd, wd) > del self._watches[wd] > del self._watches_by_path[path] > return True
That was an I-dont-know-what-Im-doing-but-it-works commit ;) Dischi -- Just remember, if the world didn't suck, we'd all fall off.
pgpWpXa2ej32Y.pgp
Description: PGP signature
