Skip to content

Commit

Permalink
final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joonho3020 committed Apr 28, 2023
1 parent 27728a7 commit 30ec980
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/uniquify-module-names.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ def write_filelist(modules, out_file):
for path in fl:
writeOut = False
for dm in modules:
if dm in path:
bm_ext = os.path.basename(path).split(".")
bm_ext.pop()
bm = ".".join(bm_ext)
print(bm)
if dm == bm:
writeOut = True
break

Expand Down

0 comments on commit 30ec980

Please sign in to comment.