From 0bf7ac6d6e6f181dec32e18af0e3566d659af527 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 24 Oct 2017 00:26:45 +0300 Subject: [PATCH] Cleanup: Fix flake8 E741 ambiguous variable name 'l' --- m_librarian/inp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m_librarian/inp.py b/m_librarian/inp.py index 863523f..b3a3d84 100644 --- a/m_librarian/inp.py +++ b/m_librarian/inp.py @@ -14,10 +14,10 @@ EOT = chr(4) # INP field separator def split_line(line): parts = line.strip().split(EOT) - l = len(parts) - if l < 11: + _l = len(parts) + if _l < 11: raise ValueError('Unknown INP structure: "%s"' % line) - if l == 11: # Standard structure + if _l == 11: # Standard structure parts.append(None) # Emulate lang else: # New structure parts = parts[:12] -- 2.39.2