# HG changeset patch
# User Andrey Skvortsov <andrej.skvortzov@gmail.com>
# Date 1538214882 -10800
# Node ID 51f3acc89a588b46c0085f98ca1e7494f8da2f28
# Parent  f1f10ceb9341acb2a72c962e27573606e4c1a974
clean etherlab: pep8, E741 ambiguous variable name 'l'

diff -r f1f10ceb9341 -r 51f3acc89a58 etherlab/runtime_etherlab.py
--- a/etherlab/runtime_etherlab.py	Sat Sep 29 12:48:28 2018 +0300
+++ b/etherlab/runtime_etherlab.py	Sat Sep 29 12:54:42 2018 +0300
@@ -86,8 +86,8 @@
     s = ctypes.create_string_buffer(4*1024)
     last = None
     while not StopKMSGThread:
-        l = klog(3, s, len(s)-1)
-        log = s.value[:l-1]
+        bytes_to_read = klog(3, s, len(s)-1)
+        log = s.value[:bytes_to_read-1]
         if last :
             log = log.rpartition(last)[2]
         if log :