mirror of
https://github.com/samba-team/samba.git
synced 2025-01-18 06:04:06 +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):
|
def _iter_source_files_lines(self):
|
||||||
for fname, text in get_source_file_contents():
|
for fname, text in get_source_file_contents():
|
||||||
lines = text.splitlines(True)
|
lines = text.splitlines(True)
|
||||||
last_line_no = len(lines) - 1
|
|
||||||
for line_no, line in enumerate(lines):
|
for line_no, line in enumerate(lines):
|
||||||
yield fname, line_no, line
|
yield fname, line_no, line
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user