diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2022-02-17 11:51:16 +0100 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2022-02-17 11:51:16 +0100 |
commit | 9d9b5b321e914543def772e595d78cdfdbb61568 (patch) | |
tree | 27017a22100c452f1579414a3d030203bd109b03 | |
parent | 48d63e924a2666baf37f4f14a18f19347fbd54a2 (diff) | |
download | nixpkgs-9d9b5b321e914543def772e595d78cdfdbb61568.tar nixpkgs-9d9b5b321e914543def772e595d78cdfdbb61568.tar.gz nixpkgs-9d9b5b321e914543def772e595d78cdfdbb61568.tar.bz2 nixpkgs-9d9b5b321e914543def772e595d78cdfdbb61568.tar.lz nixpkgs-9d9b5b321e914543def772e595d78cdfdbb61568.tar.xz nixpkgs-9d9b5b321e914543def772e595d78cdfdbb61568.tar.zst nixpkgs-9d9b5b321e914543def772e595d78cdfdbb61568.zip |
vim/update.py: add dummy nixpkgs_repo to shutdown pyright warnings
-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 de85b88da3f..82116d40177 100644 --- a/maintainers/scripts/pluginupdate.py +++ b/maintainers/scripts/pluginupdate.py @@ -634,6 +634,7 @@ def update_plugins(editor: Editor, args): autocommit = not args.no_commit + nixpkgs_repo = None if autocommit: nixpkgs_repo = git.Repo(editor.root, search_parent_directories=True) commit(nixpkgs_repo, f"{editor.attr_path}: update", [args.outfile]) |