Skip to content

Commit

Permalink
Purge local variables.
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@71450 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
Andreas Scherer committed Jun 6, 2024
1 parent ca62554 commit 2f7e172
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions texk/web2c/tests/fix-changefile-lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ def next_line(self):
# Look for '@i'nclude line
result = re.match("^@i \"?(\\w+\\.?\\w+)\"?", line)
if result:
include_file = result[1]
inc_reader = WebReader(include_file)
while inc_line := inc_reader.next_line():
inc_reader = WebReader(result[1])
while inc_reader.next_line():
pass
self.part_cnt += inc_reader.part_cnt
self.section_cnt += inc_reader.section_cnt
Expand Down

0 comments on commit 2f7e172

Please sign in to comment.