From 0822545ba81049977bb164a8095ed19f9d0d0bf5 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Thu, 15 Jun 2023 11:11:09 +1200 Subject: [PATCH 1/2] fcitx5: Remove unused import --- pkgs/tools/inputmethods/fcitx5/update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/tools/inputmethods/fcitx5/update.py b/pkgs/tools/inputmethods/fcitx5/update.py index 7fae6c604183..c64e00a3813f 100755 --- a/pkgs/tools/inputmethods/fcitx5/update.py +++ b/pkgs/tools/inputmethods/fcitx5/update.py @@ -2,7 +2,6 @@ #!nix-shell -i python3 -p nix-update nix-prefetch-github python3Packages.requests from nix_prefetch_github import * -import json import requests import subprocess From 8b8538338af8c6216b0a4328fcd7cebf6be8f3fa Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Thu, 15 Jun 2023 11:11:19 +1200 Subject: [PATCH 2/2] fcitx5: Remove unused variable --- pkgs/tools/inputmethods/fcitx5/update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/tools/inputmethods/fcitx5/update.py b/pkgs/tools/inputmethods/fcitx5/update.py index c64e00a3813f..fba390211c82 100755 --- a/pkgs/tools/inputmethods/fcitx5/update.py +++ b/pkgs/tools/inputmethods/fcitx5/update.py @@ -33,7 +33,6 @@ def get_latest_tag(repo, owner=OWNER): return r.json()[0].get("name") def main(): - sources = dict() for repo in REPOS: rev = get_latest_tag(repo) if repo == "fcitx5-qt":