scripts.pluginupdate: write final newline

json.dump does not write any newline, so the final newline in the file
is missing.
wip/yesman
Flakebi 3 years ago
parent 188b23fb32
commit 04184cd64f
No known key found for this signature in database
GPG Key ID: 38E7ED984D7DCD02
  1. 1
      maintainers/scripts/pluginupdate.py

@ -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…
Cancel
Save