mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-15 03:41:16 +01:00
Updated for version view
This commit is contained in:
parent
fcd459a7ad
commit
815f9bbdbc
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ class ViewPackage(Configs):
|
||||||
|
|
||||||
deps: str = (', '.join([f'{self.cyan}{pkg}' for pkg in info[2].split()]))
|
deps: str = (', '.join([f'{self.cyan}{pkg}' for pkg in info[2].split()]))
|
||||||
if self.option_for_pkg_version:
|
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()]))
|
f'{self.green}' for pkg in info[2].split()]))
|
||||||
|
|
||||||
print(f'Name: {self.green}{info[0]}{self.endc}\n'
|
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()]))
|
deps: str = (', '.join([f'{self.cyan}{pkg}' for pkg in info[9].split()]))
|
||||||
if self.option_for_pkg_version:
|
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()]))
|
f'{self.green}' for pkg in info[9].split()]))
|
||||||
|
|
||||||
print(f'Repository: {self.yellow}{info[0]}{self.endc}\n'
|
print(f'Repository: {self.yellow}{info[0]}{self.endc}\n'
|
||||||
|
|
Loading…
Reference in a new issue