Updated titles

This commit is contained in:
Dimitris Zlatanidis 2024-03-19 00:18:34 +02:00
parent 239bd073c6
commit f0cc99f190
4 changed files with 6 additions and 8 deletions

View file

@ -50,8 +50,7 @@ class Dependees(Configs):
yield name, data['requires']
def view_the_title(self) -> None:
print(f"The list below shows the "
f"packages that dependees on '{', '.join([pkg for pkg in self.packages])}':\n")
print(f"The list below shows the packages that dependees on:\n")
self.packages: tuple = tuple(self.utils.apply_package_pattern(self.data, self.packages))
def view_no_dependees(self, dependees: dict) -> None:

View file

@ -27,9 +27,9 @@ class FindInstalled(Configs):
self.matching.append(name)
self.matched()
def view_title(self) -> None:
print(f'The list below shows the installed packages '
f'that contains \'{", ".join([p for p in self.packages])}\' files:\n')
@staticmethod
def view_title() -> None:
print(f'The list below shows the installed packages:\n')
def matched(self) -> None:
if self.matching:

View file

@ -34,8 +34,7 @@ class SearchPackage(Configs):
self.repo_data: dict = self.data
self.search_for_the_packages(self.repository)
print(f'The list below shows the repo '
f'packages that contains \'{", ".join([p for p in self.packages])}\':\n')
print(f'The list below shows the repository packages:\n')
self.summary_of_searching()
def search_to_all_repositories(self) -> None:

View file

@ -57,7 +57,7 @@ class Tracking(Configs):
self.view_summary_of_tracking(package)
def view_the_title(self) -> None:
print(f"The list below shows the packages '{', '.join([pkg for pkg in self.packages])}' with dependencies:\n")
print(f"The list below shows the packages with dependencies:\n")
self.packages: tuple = tuple(self.utils.apply_package_pattern(self.data, self.packages))
def view_the_main_package(self) -> None: