aboutsummaryrefslogtreecommitdiffstats
path: root/minidinstall/Dnotify.py
diff options
context:
space:
mode:
authorLibravatarChristoph Goehre <christoph.goehre@gmx.de>2008-09-20 10:52:41 +0200
committerLibravatarChristoph Goehre <christoph.goehre@gmx.de>2008-09-20 18:10:30 +0200
commita4cc92989da6619456a69f8d176e0986c4935496 (patch)
tree5dfbee6a2297f83bf43443e73f10f3523ab55a96 /minidinstall/Dnotify.py
parent5bbaa283c704fb3a1d83c281031d6131cfc58a91 (diff)
expand tabs and remove tailing whitespaces
Diffstat (limited to 'minidinstall/Dnotify.py')
-rw-r--r--minidinstall/Dnotify.py6
1 files changed, 3 insertions, 3 deletions
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()