networkthread pylint fixes

This commit is contained in:
lakshyacis 2019-09-12 17:20:08 +05:30
parent e74affe636
commit 915bfb757d
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,7 @@
"""
src/network/networkthread.py
============================
"""
import network.asyncore_pollchoose as asyncore import network.asyncore_pollchoose as asyncore
import state import state
from debug import logger from debug import logger
@ -8,6 +11,7 @@ from queues import excQueue
class BMNetworkThread(StoppableThread): class BMNetworkThread(StoppableThread):
"""A thread to handle network concerns"""
def __init__(self): def __init__(self):
super(BMNetworkThread, self).__init__(name="Asyncore") super(BMNetworkThread, self).__init__(name="Asyncore")
logger.info("init asyncore thread") logger.info("init asyncore thread")