From 479057b7f5bfe3d858f2691a258a25356410d006 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Mon, 21 Sep 2020 08:13:32 +0200 Subject: [PATCH] =?UTF-8?q?moved=20apt.py=20=E2=86=92=20argos-apt.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apt.py => argos-apt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename apt.py => argos-apt.py (97%) diff --git a/apt.py b/argos-apt.py similarity index 97% rename from apt.py rename to argos-apt.py index db22508..d719c05 100755 --- a/apt.py +++ b/argos-apt.py @@ -12,7 +12,7 @@ # https://github.com/schtobia/argos-httping/blob/master/httping.py from aptdaemon import client -import apt +from apt import Cache import sys __author__ = "Tobias Schmidl" @@ -30,7 +30,7 @@ class Themes: apt_client = client.AptClient() apt_client.update_cache(wait=True) -cache = apt.Cache() +cache = Cache() cache.open() update_list = [pkg for pkg in cache if pkg.is_upgradable] if len(update_list) == 0: