Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 07139c5

Browse files
committed
Print diagnostic msg when nothing has changed
1 parent 99033ab commit 07139c5

File tree

1 file changed

+1
-0
lines changed
  • ToolsForMaintainersOfTheProjectTemplate/notepad_hfiles_synchronizer

1 file changed

+1
-0
lines changed

ToolsForMaintainersOfTheProjectTemplate/notepad_hfiles_synchronizer/FileGenerator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def UpdateFile(filename, updated):
2525
with codecs.open(filename, "r", "utf-8") as infile:
2626
original = infile.read()
2727
if updated == original:
28+
print("Nothing new to update:", os.path.basename(filename))
2829
# Same as before so don't write
2930
return
3031
os.unlink(filename)

0 commit comments

Comments
 (0)