Updated for typing

This commit is contained in:
Dimitris Zlatanidis 2023-01-14 22:10:19 +02:00
parent 2f2aad3c5c
commit 0ebbf650c2

View file

@ -92,7 +92,7 @@ class Utilities:
time.strftime(f'[{self.cyan}%H:%M:%S{self.endc}]',
time.gmtime(elapsed_time)))
def is_repo_version_bigger(self, package):
def is_repo_version_bigger(self, package: str) -> bool:
""" Compare two versions. """
installed = self.is_installed(package)
if installed: