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
245 stars 73 forks source link

Implement InotifyTree and InotifyTrees as sub-classes of new BaseTree class #18

Closed cbalfour closed 8 years ago

cbalfour commented 8 years ago

As you requested, I have re-implemented my InotifyTrees class and modified your InotifyTree class to inherit from a BaseTree class which now holds the common constructor and event_gen() method.

To do this I had to change the super-private __i and __mask variables to semi-private _i and _mask variables.

I also removed a few trailing whitespaces.

dsoprea commented 8 years ago

Hang on for another day. I'll try to get this merged today (26th).