diff options
author | Flakebi <flakebi@t-online.de> | 2021-03-22 22:56:44 +0100 |
---|---|---|
committer | Flakebi <flakebi@t-online.de> | 2021-03-22 22:56:47 +0100 |
commit | 04184cd64f5c38cb5a9f882d2026f8663e6742c8 (patch) | |
tree | f0977d6df2ad35f3621b146a7653e57f39bb21d6 /maintainers | |
parent | 188b23fb323baf0f05e021cc2adf40f83bce3f58 (diff) | |
download | nixpkgs-04184cd64f5c38cb5a9f882d2026f8663e6742c8.tar nixpkgs-04184cd64f5c38cb5a9f882d2026f8663e6742c8.tar.gz nixpkgs-04184cd64f5c38cb5a9f882d2026f8663e6742c8.tar.bz2 nixpkgs-04184cd64f5c38cb5a9f882d2026f8663e6742c8.tar.lz nixpkgs-04184cd64f5c38cb5a9f882d2026f8663e6742c8.tar.xz nixpkgs-04184cd64f5c38cb5a9f882d2026f8663e6742c8.tar.zst nixpkgs-04184cd64f5c38cb5a9f882d2026f8663e6742c8.zip |
scripts.pluginupdate: write final newline
json.dump does not write any newline, so the final newline in the file is missing.
Diffstat (limited to 'maintainers')
-rw-r--r-- | maintainers/scripts/pluginupdate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/maintainers/scripts/pluginupdate.py b/maintainers/scripts/pluginupdate.py index 9ac1ccffb78..00a205313be 100644 --- a/maintainers/scripts/pluginupdate.py +++ b/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) |