mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-15 15:19:52 +00:00
Codefix: do not remove (last) newline when sorting doxygen warnings
This commit is contained in:
@@ -21,6 +21,7 @@ def main():
|
|||||||
warnings = sorted(set(warnings))
|
warnings = sorted(set(warnings))
|
||||||
with open(sys.argv[2], "w") as out:
|
with open(sys.argv[2], "w") as out:
|
||||||
out.write("\n".join(warnings))
|
out.write("\n".join(warnings))
|
||||||
|
out.write("\n")
|
||||||
print("Doxygen warnings sorted successfully.")
|
print("Doxygen warnings sorted successfully.")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user