Skip to content
Snippets Groups Projects
Commit cc74f709 authored by Anael Beutot's avatar Anael Beutot
Browse files

Clean.

parent 673979ca
No related branches found
No related tags found
No related merge requests found
......@@ -48,14 +48,15 @@ class Node(Thread):
"""
Thread.__init__(self)
# run thread as daemon
self.daemon = True
# settings used as read only
self.server_host = server_host
self.server_port = int(server_port)
self.user_name = user_name
self.user_passwd = user_passwd
self.daemon = True
#: ``sjRpc`` proxy
self.proxy = None
#: ``sjRpc`` connection manager
......@@ -107,7 +108,7 @@ class Node(Thread):
proxy=self.proxy))
self.role = u'hv'
else:
logger.debug(u'Wrong role returned: %s' % role)
logger.debug(u'Wrong role returned: %s', role)
role = None
time.sleep(2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment