summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/utils/syncdaemon/master.py
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-04-13 01:46:00 +0000
committerAnand Avati <avati@gluster.com>2011-04-13 04:42:44 -0700
commitc0139158ae8992513e93932d8670b5db8605ead2 (patch)
treeec402362034874de50c9379df90d39e26aa5028c /xlators/features/marker/utils/syncdaemon/master.py
parent7cf0dbcd300f554985ebde4759511c048927c53a (diff)
syncdaemon: minor fixes
- whitespace fix - remove superfluous imports Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 1570 (geosync related changes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/master.py')
-rw-r--r--xlators/features/marker/utils/syncdaemon/master.py3
1 files changed, 1 insertions, 2 deletions
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: