Commits

JanKanis committed 4a7e92e

fix problem with Event properties allways being 0

  • Participants
  • Parent commits aca0c52

Comments (0)

Files changed (1)

File inotify/watcher.py

 
 for k, v in _event_props.iteritems():
     mask = getattr(inotify, 'IN_' + k.upper())
-    def getter(self):
+    def getter(self, mask=mask):
         return self.mask & mask
     getter.__name__ = k
     getter.__doc__ = v