From a4cc92989da6619456a69f8d176e0986c4935496 Mon Sep 17 00:00:00 2001 From: Christoph Goehre Date: Sat, 20 Sep 2008 10:52:41 +0200 Subject: expand tabs and remove tailing whitespaces --- minidinstall/Dnotify.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'minidinstall/Dnotify.py') diff --git a/minidinstall/Dnotify.py b/minidinstall/Dnotify.py index 122e03c..e31080c 100644 --- a/minidinstall/Dnotify.py +++ b/minidinstall/Dnotify.py @@ -92,7 +92,7 @@ class MtimeDirectoryNotifier(DirectoryNotifier): self._polltime = poll_time for dir in dirs: self._dirmap[dir] = os.stat(os.path.join(self._cwd, dir))[stat.ST_MTIME] - + def poll(self, timeout=None): timeout_time = None if timeout: @@ -123,7 +123,7 @@ class DnotifyDirectoryNotifier(DirectoryNotifier): self._queue = Queue.Queue() dnotify = DnotifyThread(self._queue, self._dirs, self._logger) dnotify.start() - + def poll(self, timeout=None): # delete duplicates i = self._queue.qsize() @@ -164,7 +164,7 @@ class DnotifyThread(threading.Thread): self._queue = queue self._dirs = dirs self._logger = logger - + def run(self): self._logger.debug('Starting dnotify reading thread') (infd, outfd) = os.pipe() -- cgit v1.2.3