diff options
-rw-r--r-- | fs/osfs/watch_inotify.py | 4 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/osfs/watch_inotify.py b/fs/osfs/watch_inotify.py index d0bc6f9..e33f3c7 100644 --- a/fs/osfs/watch_inotify.py +++ b/fs/osfs/watch_inotify.py @@ -184,7 +184,7 @@ class OSFSWatchMixin(WatchableFSMixin): watcher.handle_event(OVERFLOW(self)) if inevt.mask & pyinotify.IN_UNMOUNT: watcher.handle_event(CLOSE(self)) - + def __get_watch_thread(self): """Get the shared watch thread, initializing if necessary. @@ -219,7 +219,7 @@ class SharedThreadedNotifier(threading.Thread): self.watchers[fd] = watcher self._poller.register(fd,select.POLLIN) # Bump the poll object so it recognises the new fd. - os.write(self._pipe_w,"H") + os.write(self._pipe_w,b"H") def del_watcher(self,watcher): fd = watcher._pyinotify_WatchManager.get_fd() @@ -7,7 +7,7 @@ from setuptools import setup import sys PY3 = sys.version_info >= (3,) -VERSION = "0.5.0" +VERSION = "0.5.1-dev" COMMANDS = ['fscat', 'fscp', |