etherlab/runtime_etherlab.py
changeset 2365 bc07b9910cdb
parent 2363 9c7da6ff6a34
child 2366 d635680e4c2c
--- 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)