Skip to content
Snippets Groups Projects
Commit 4adc5c6b authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

not compatible with old pythons

parent 4d28bb66
No related branches found
No related tags found
No related merge requests found
......@@ -14,11 +14,11 @@ except ModuleNotFoundError:
class Apt:
cache: apt.cache.Cache
packages: list
installed_packages: list
removable_packages: list
upgradable_packages: list
# cache: apt.cache.Cache
# packages: list
# installed_packages: list
# removable_packages: list
# upgradable_packages: list
def __init__(self, update: bool = False):
self.cache = self.get_cache(update)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment