From c0139158ae8992513e93932d8670b5db8605ead2 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Wed, 13 Apr 2011 01:46:00 +0000 Subject: syncdaemon: minor fixes - whitespace fix - remove superfluous imports Signed-off-by: Csaba Henk Signed-off-by: Anand Avati BUG: 1570 (geosync related changes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570 --- xlators/features/marker/utils/syncdaemon/master.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xlators/features/marker/utils/syncdaemon/master.py') diff --git a/xlators/features/marker/utils/syncdaemon/master.py b/xlators/features/marker/utils/syncdaemon/master.py index fd5a2dcda..f6403fcf6 100644 --- a/xlators/features/marker/utils/syncdaemon/master.py +++ b/xlators/features/marker/utils/syncdaemon/master.py @@ -1,6 +1,5 @@ import os import sys -import threading import time import stat import signal @@ -106,7 +105,7 @@ class GMaster(object): gap = min(10, gap) self.slave.server.keep_alive(vi) time.sleep(gap) - t = threading.Thread(target=keep_alive) + t = Thread(target=keep_alive) t.setDaemon(True) t.start() while True: -- cgit