Compare commits

..

No commits in common. "master" and "develop" have entirely different histories.

View file

@ -9,16 +9,16 @@
# <bitbar.desc>Greps and displays system updates.</bitbar.desc> # <bitbar.desc>Greps and displays system updates.</bitbar.desc>
# <bitbar.image></bitbar.image> # <bitbar.image></bitbar.image>
# <bitbar.dependencies>python,aptdaemon,apt</bitbar.dependencies> # <bitbar.dependencies>python,aptdaemon,apt</bitbar.dependencies>
# <bitbar.abouturl>https://gitlab.com/schtobia/argos-apt/blob/master/argos-apt.py</bitbar.abouturl> # <bitbar.abouturl>https://github.com/schtobia/argos-httping/blob/master/httping.py</bitbar.abouturl>
import sys import sys
from apt import Cache from apt import Cache
__author__ = "Tobias Schmidl" __author__ = "Tobias Schmidl"
__copyright__ = "Copyright 2021, Tobias Schmidl" __copyright__ = "Copyright 2018, Tobias Schmidl"
__license__ = "MIT" __license__ = "MIT"
__version__ = "1.0" __version__ = "0.0.1"
__maintainer__ = "Tobias Schmidl" __maintainer__ = "Tobias Schmidl"
THEMES = { THEMES = {
@ -35,8 +35,7 @@ if __name__ == "__main__":
apt_client = client.AptClient() apt_client = client.AptClient()
apt_client.update_cache(wait=True) apt_client.update_cache(wait=True)
except ImportError as err: except ImportError as err:
# print(str(err), file=sys.stderr) print(str(err), file=sys.stderr)
pass
cache = Cache() cache = Cache()
cache.open() cache.open()