diff -r 4ea781f30555 -r bc07b9910cdb etherlab/runtime_etherlab.py --- a/etherlab/runtime_etherlab.py Fri Sep 28 19:06:28 2018 +0300 +++ b/etherlab/runtime_etherlab.py Fri Sep 28 19:12:26 2018 +0300 @@ -66,8 +66,8 @@ global Result return Result -KMSGPollThread=None -StopKMSGThread=False +KMSGPollThread = None +StopKMSGThread = False def KMSGPollThreadProc(): @@ -78,11 +78,11 @@ captured line to detect new lines """ global StopKMSGThread - libc=ctypes.CDLL("libc.so.6") + libc = ctypes.CDLL("libc.so.6") klog = libc.klogctl klog.argtypes = [ctypes.c_int, ctypes.c_char_p, ctypes.c_int] klog.restype = ctypes.c_int - s=ctypes.create_string_buffer(4*1024) + s = ctypes.create_string_buffer(4*1024) last = None while not StopKMSGThread: l = klog(3, s, len(s)-1)