cleanup, comments
This commit is contained in:
@@ -421,6 +421,9 @@ class ProtocolVersionError(Exception):
|
|||||||
super().__init__(self.message)
|
super().__init__(self.message)
|
||||||
|
|
||||||
def run(obj):
|
def run(obj):
|
||||||
|
"""
|
||||||
|
Target wrapper for thread object invocation
|
||||||
|
"""
|
||||||
obj.run()
|
obj.run()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
@@ -436,4 +439,4 @@ if __name__ == "__main__":
|
|||||||
operatorThread = threading.Thread(target=run, args=(o,))
|
operatorThread = threading.Thread(target=run, args=(o,))
|
||||||
# start threads
|
# start threads
|
||||||
operatorThread.start()
|
operatorThread.start()
|
||||||
listenerThread.start()
|
listenerThread.start()
|
||||||
Reference in New Issue
Block a user