diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2024-06-06 16:24:57 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2024-06-06 16:24:57 +0000 |
commit | 0f908dffbfc09544a56448ca72e02dbc99b31337 (patch) | |
tree | 7a8492fba0ba5ed2fe9e6359383c5fc8f546bdf9 /Build/source/texk | |
parent | 5fb160c78ca596a411632f4c084e42baa8b78085 (diff) |
Purge local variables.
git-svn-id: svn://tug.org/texlive/trunk@71450 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-x | Build/source/texk/web2c/tests/fix-changefile-lines.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/tests/fix-changefile-lines.py b/Build/source/texk/web2c/tests/fix-changefile-lines.py index 73c497bccff..73580e62dcd 100755 --- a/Build/source/texk/web2c/tests/fix-changefile-lines.py +++ b/Build/source/texk/web2c/tests/fix-changefile-lines.py @@ -74,9 +74,8 @@ class WebReader: # 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 |