Skip to content

Commit 852c0ac

Browse files
committed
Fix ambiguous variable name
Signed-off-by: Nikola Forró <[email protected]>
1 parent b6211f3 commit 852c0ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specfile/tags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,13 +380,13 @@ def delete(index):
380380
reversed(
381381
list(
382382
itertools.dropwhile(
383-
lambda l: not l, reversed(preceding_lines)
383+
lambda line: not line, reversed(preceding_lines)
384384
)
385385
)
386386
)
387387
)
388388
+ delimiter
389-
+ list(itertools.dropwhile(lambda l: not l, lines))
389+
+ list(itertools.dropwhile(lambda line: not line, lines))
390390
)
391391

392392
if isinstance(i, slice):

0 commit comments

Comments
 (0)