scripts.pluginupdate: write final newline
json.dump does not write any newline, so the final newline in the file is missing.
This commit is contained in:
parent
188b23fb32
commit
04184cd64f
@ -416,6 +416,7 @@ def rewrite_input(
|
||||
}
|
||||
with open(deprecated, "w") as f:
|
||||
json.dump(deprecations, f, indent=4, sort_keys=True)
|
||||
f.write("\n")
|
||||
|
||||
lines = sorted(lines, key=str.casefold)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user