Skip to content

Commit

Permalink
script: Fix remap
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcxzyw committed Feb 1, 2025
1 parent 446c9f9 commit a2b870a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/name_remap.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ def remap(line: str, ref: str, mapping):
mapping[b[1]] = {a[1]}
else:
mapping[b[1]].add(a[1])
if len(mapping) == 0:
continue
path = file.source_file.removeprefix('a/')
with open(path, "r") as f:
lines = f.readlines()
Expand Down

0 comments on commit a2b870a

Please sign in to comment.