diff --git a/slpkg/dependees.py b/slpkg/dependees.py index dbebc5c2..e0eb324b 100644 --- a/slpkg/dependees.py +++ b/slpkg/dependees.py @@ -39,11 +39,11 @@ class Dependees(Configs): def find(self, repo: str) -> None: """ Collecting the dependees. """ - self.packages: list = self.utils.apply_package_pattern(self.flags, self.packages, repo) - print(f"The list below shows the " f"packages that dependees on '{', '.join([p for p in self.packages])}':\n") + self.packages: list = self.utils.apply_package_pattern(self.flags, self.packages, repo) + for pkg in self.packages: dependees: list = list(self.find_requires(pkg, repo)) diff --git a/slpkg/tracking.py b/slpkg/tracking.py index c21b17b6..b3cd2a79 100644 --- a/slpkg/tracking.py +++ b/slpkg/tracking.py @@ -33,7 +33,7 @@ class Tracking(Configs): def packages(self, packages: list, repo: str) -> None: """ Prints the packages dependencies. """ - print(f"The list below shows the packages with dependencies:\n") + print(f"The list below shows the packages '{', '.join([p for p in packages])}' with dependencies:\n") packages: list = self.utils.apply_package_pattern(self.flags, packages, repo)