Updated for comments

This commit is contained in:
Dimitris Zlatanidis 2023-05-09 10:06:36 +03:00
parent 1171b5a6c2
commit 274c8b9970

View file

@ -29,7 +29,6 @@ class Tracking(Configs):
['-p', '--pkg-version'], flags)
def package(self) -> None:
""" Prints the packages dependencies. """
print(f"The list below shows the packages '{', '.join([p for p in self.packages])}' with dependencies:\n")
packages: tuple = tuple(self.utils.apply_package_pattern(self.data, self.packages))
@ -70,6 +69,8 @@ class Tracking(Configs):
def choose_dependency_version(self, require: str) -> str:
try:
if self.is_binary:
# Not included here because of the dependency not included
# in the repository as package
version: str = f"{'':>1}(not included)"
if self.data.get(require):
version: str = f"{'':>1}{self.yellow}{self.data[require][0]}{self.endc}"