From ae0b86d50ed7373b4f347e92fc34cbb62ec14dc8 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Wed, 28 Apr 2021 08:21:04 +0000 Subject: [PATCH 1/2] Updated metadata --- argos-apt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/argos-apt.py b/argos-apt.py index 667ec97..aad53cd 100755 --- a/argos-apt.py +++ b/argos-apt.py @@ -9,16 +9,16 @@ # Greps and displays system updates. # # python,aptdaemon,apt -# https://github.com/schtobia/argos-httping/blob/master/httping.py +# https://gitlab.com/schtobia/argos-apt/blob/master/argos-apt.py import sys from apt import Cache __author__ = "Tobias Schmidl" -__copyright__ = "Copyright 2018, Tobias Schmidl" +__copyright__ = "Copyright 2021, Tobias Schmidl" __license__ = "MIT" -__version__ = "0.0.1" +__version__ = "1.0" __maintainer__ = "Tobias Schmidl" THEMES = { From 4f97a24edf77002dc76cddfcd314019f3b746197 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl <5060861-schtobia@users.noreply.gitlab.com> Date: Fri, 17 Dec 2021 08:30:55 +0100 Subject: [PATCH 2/2] don't print import error to stdout --- argos-apt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/argos-apt.py b/argos-apt.py index aad53cd..efc0647 100755 --- a/argos-apt.py +++ b/argos-apt.py @@ -35,7 +35,8 @@ if __name__ == "__main__": apt_client = client.AptClient() apt_client.update_cache(wait=True) except ImportError as err: - print(str(err), file=sys.stderr) + # print(str(err), file=sys.stderr) + pass cache = Cache() cache.open()