Updated for dependencies

This commit is contained in:
Dimitris Zlatanidis 2023-05-13 23:06:09 +03:00
parent 327792b044
commit 277d8583ce

View file

@ -44,6 +44,7 @@ class RemovePackages(Configs):
self.query_logs_dependencies()
self.save_dependencies_for_remove()
self.remove_doubles_dependencies()
self.remove_doubles_installed_dependencies()
self.add_dependencies_to_remove()
self.choose_dependencies_for_remove()
self.save_packages_for_remove()
@ -70,6 +71,8 @@ class RemovePackages(Configs):
def remove_doubles_dependencies(self) -> None:
self.dependencies: list = list(set(self.dependencies))
def remove_doubles_installed_dependencies(self):
self.installed_dependencies: list = list(set(self.installed_dependencies))
def add_dependencies_to_remove(self) -> None: