mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated for comments
This commit is contained in:
parent
1171b5a6c2
commit
274c8b9970
1 changed files with 2 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue