Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-05-09 11:11:30 +03:00
parent 274c8b9970
commit 5ea45c1b20

View file

@ -44,17 +44,13 @@ class RemovePackages(Configs):
def remove(self) -> None: def remove(self) -> None:
""" Removes package with dependencies. """ """ Removes package with dependencies. """
self.installed_packages, self.dependencies = self.view.remove_packages(self.packages) self.installed_packages, self.dependencies = self.view.remove_packages(self.packages)
self.view.question() self.view.question()
start: float = time.time() start: float = time.time()
self.remove_packages() self.remove_packages()
if self.dependencies and not self.option_resolve_off: if self.dependencies and not self.option_resolve_off:
self.delete_deps_logs() self.delete_deps_logs()
self.delete_main_logs() self.delete_main_logs()
elapsed_time: float = time.time() - start elapsed_time: float = time.time() - start
self.utils.finished_time(elapsed_time) self.utils.finished_time(elapsed_time)