From: Oleg Broytman Date: Mon, 23 Oct 2017 21:26:45 +0000 (+0300) Subject: Cleanup: Fix flake8 E741 ambiguous variable name 'l' X-Git-Tag: 0.0.16~9 X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=commitdiff_plain;h=0bf7ac6d6e6f181dec32e18af0e3566d659af527 Cleanup: Fix flake8 E741 ambiguous variable name 'l' --- 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]