Skip to content

Commit

Permalink
add print message (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreadey authored Feb 28, 2024
1 parent 1ce6c9b commit 2b73202
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/link_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,10 @@ async def checkDataset(app, dset_key):
if file_uri.startswith(prefix_old):
prefix_len = len(prefix_old)
new_file_uri = prefix_new + file_uri[prefix_len:]
log.info(f"replacing uri: {file_uri} with {new_file_uri}")
print(f"found uri match: {file_uri} in {dset_key}")
app["matched_dset_uri"] += 1
if do_update:
print(f"replacing uri: {file_uri} with {new_file_uri}")
setFileUri(dset_json, new_file_uri)

# write back to storage
Expand Down

0 comments on commit 2b73202

Please sign in to comment.