mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Fix for data
This commit is contained in:
parent
3feec4a1b3
commit
c74a9346f5
1 changed files with 4 additions and 4 deletions
|
@ -104,10 +104,10 @@ class Upgrade(Configs):
|
|||
|
||||
if len(name) > 18:
|
||||
name: str = f'{name[:15]}...'
|
||||
if len(data['inst_version']) > 15:
|
||||
inst_version: str = f"{data['inst_version'][:11]}..."
|
||||
if len(data['repo_version']) > 15:
|
||||
repo_version: str = f"{data['repo_version'][:11]}..."
|
||||
if len(inst_version) > 15:
|
||||
inst_version: str = f"{inst_version[:11]}..."
|
||||
if len(repo_version) > 15:
|
||||
repo_version: str = f"{repo_version[:11]}..."
|
||||
|
||||
print(f"{name:<19} {inst_version:<15} {inst_build:<6} {repo_version:<15} "
|
||||
f"{repo_build:<5} {data['repo']:>14}")
|
||||
|
|
Loading…
Reference in a new issue