Updated colors

This commit is contained in:
Dimitris Zlatanidis 2023-01-18 23:27:17 +02:00
parent 9e0aa1e346
commit b4e010dbb1

View file

@ -56,10 +56,10 @@ class ViewPackage(Configs):
if line.startswith('EMAIL'):
email = line[7:-1].strip()
deps = (', '.join([f'{pkg}' for pkg in info[2].split()]))
deps = (', '.join([f'{cyan}{pkg}' for pkg in info[2].split()]))
if self.flag_repo_version in self.flags:
deps = (', '.join([f'{pkg} ({SBoQueries(pkg).version()})' for pkg in info[2].split()]))
deps = (', '.join([f'{cyan}{pkg}{endc}-{yellow}{SBoQueries(pkg).version()}{green}' for pkg in info[2].split()]))
print(f'Name: {green}{info[0]}{endc}\n'
f'Version: {green}{info[1]}{endc}\n'