Skip to content

Commit

Permalink
clear output for db-compare
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Dec 15, 2024
1 parent 2d8a90f commit 3caa652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/builder2ibek/dbcompare.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def compare_dbs(original: Path, new: Path):
for record in regex_record.finditer(new_text):
new_set.add(f"{record.group(1)} {record.group(2)}")

print("*******************************************************************")
print("Records in original but not in new:")
print("\n".join(sorted(old_set - new_set)))
print("\n")
print("*******************************************************************")
print("Records in new but not in original:")
print("\n".join(sorted(new_set - old_set)))
print("\n")

0 comments on commit 3caa652

Please sign in to comment.