From 815f9bbdbc9a964b9d20967bd4d8550d0b00b2dc Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 11 Apr 2023 10:55:35 +0300 Subject: [PATCH] Updated for version view --- slpkg/views/view_package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/views/view_package.py b/slpkg/views/view_package.py index b81c0aa7..e045991e 100644 --- a/slpkg/views/view_package.py +++ b/slpkg/views/view_package.py @@ -84,7 +84,7 @@ class ViewPackage(Configs): deps: str = (', '.join([f'{self.cyan}{pkg}' for pkg in info[2].split()])) if self.option_for_pkg_version: - deps: str = (', '.join([f'{self.cyan}{pkg}{self.endc}-{self.yellow}{data[pkg][2]}' + deps: str = (', '.join([f'{self.cyan}{pkg}{self.endc} {self.yellow}{data[pkg][2]}' f'{self.green}' for pkg in info[2].split()])) print(f'Name: {self.green}{info[0]}{self.endc}\n' @@ -137,7 +137,7 @@ class ViewPackage(Configs): deps: str = (', '.join([f'{self.cyan}{pkg}' for pkg in info[9].split()])) if self.option_for_pkg_version: - deps: str = (', '.join([f'{self.cyan}{pkg}{self.endc}-{self.yellow}{data[pkg][0]}' + deps: str = (', '.join([f'{self.cyan}{pkg}{self.endc} {self.yellow}{data[pkg][0]}' f'{self.green}' for pkg in info[9].split()])) print(f'Repository: {self.yellow}{info[0]}{self.endc}\n'