mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
python/tests/source: remove useless local variable
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <noel.power@suse.com>
This commit is contained in:
parent
cf3d35c8a9
commit
e37edb7639
@ -158,7 +158,6 @@ class TestSource(TestCase):
|
||||
def _iter_source_files_lines(self):
|
||||
for fname, text in get_source_file_contents():
|
||||
lines = text.splitlines(True)
|
||||
last_line_no = len(lines) - 1
|
||||
for line_no, line in enumerate(lines):
|
||||
yield fname, line_no, line
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user