summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/marker/utils/syncdaemon/master.py3
-rw-r--r--xlators/features/marker/utils/syncdaemon/repce.py2
-rw-r--r--xlators/features/marker/utils/syncdaemon/resource.py1
3 files changed, 2 insertions, 4 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/master.py b/xlators/features/marker/utils/syncdaemon/master.py
index fd5a2dcda3c..f6403fcf6ef 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:
diff --git a/xlators/features/marker/utils/syncdaemon/repce.py b/xlators/features/marker/utils/syncdaemon/repce.py
index 1b8d0203cff..8b7e0ae94e2 100644
--- a/xlators/features/marker/utils/syncdaemon/repce.py
+++ b/xlators/features/marker/utils/syncdaemon/repce.py
@@ -57,7 +57,7 @@ class RepceServer(object):
while True:
self.q.put(recv(self.inf))
except EOFError:
- logging.info("terminating on reaching EOF.")
+ logging.info("terminating on reaching EOF.")
def worker(self):
while True:
diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py
index d172462a70f..09ab9c3a49b 100644
--- a/xlators/features/marker/utils/syncdaemon/resource.py
+++ b/xlators/features/marker/utils/syncdaemon/resource.py
@@ -11,7 +11,6 @@ import socket
import logging
import tempfile
import threading
-import time
from ctypes import *
from ctypes.util import find_library
from errno import EEXIST, ENOENT, ENODATA, ENOTDIR, ELOOP, EISDIR