Print information about written files
We already output some messages, but not the most important part: what files were written.
This commit is contained in:
parent
b9e95b4d61
commit
7d8c9a8028
1 changed files with 2 additions and 1 deletions
|
@ -515,10 +515,11 @@ def main():
|
||||||
with open(spec_file, "w") as fobj:
|
with open(spec_file, "w") as fobj:
|
||||||
fobj.write(spec_contents)
|
fobj.write(spec_contents)
|
||||||
fobj.write("\n")
|
fobj.write("\n")
|
||||||
|
print(f'Wrote {fobj.name}')
|
||||||
if patch_file is not None:
|
if patch_file is not None:
|
||||||
with open(patch_file, "w") as fobj:
|
with open(patch_file, "w") as fobj:
|
||||||
fobj.writelines(diff)
|
fobj.writelines(diff)
|
||||||
|
print(f'Wrote {fobj.name}')
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue