mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Fixed spaces
This commit is contained in:
parent
97bfc1fd2f
commit
b55cc76c18
1 changed files with 5 additions and 5 deletions
|
@ -39,20 +39,20 @@ class Dependees:
|
||||||
print(f'{self.byellow}{pkg}{self.endc}')
|
print(f'{self.byellow}{pkg}{self.endc}')
|
||||||
print(f' {self.llc}{self.hl}', end='')
|
print(f' {self.llc}{self.hl}', end='')
|
||||||
if not dependees:
|
if not dependees:
|
||||||
print(f'{self.cyan}No dependees found{self.endc}')
|
print(f'{self.cyan}No dependees{self.endc}')
|
||||||
|
|
||||||
sp = ' ' * 3
|
sp = ' ' * 4
|
||||||
for i, dep in enumerate(dependees, start=1):
|
for i, dep in enumerate(dependees, start=1):
|
||||||
if i == 1:
|
if i == 1:
|
||||||
print(f'{self.cyan}{dep[0]}{self.endc}')
|
print(f' {self.cyan}{dep[0]}{self.endc}')
|
||||||
else:
|
else:
|
||||||
print(f'{sp}{self.cyan}{dep[0]}{self.endc}')
|
print(f'{sp}{self.cyan}{dep[0]}{self.endc}')
|
||||||
|
|
||||||
if '--full-reverse' in self.flags:
|
if '--full-reverse' in self.flags:
|
||||||
if i == len(dependees):
|
if i == len(dependees):
|
||||||
print(" " * 4 + f' {self.llc}{self.hl}{self.violet}{dep[1]}{self.endc}')
|
print(" " * 4 + f' {self.llc}{self.hl} {self.violet}{dep[1]}{self.endc}')
|
||||||
else:
|
else:
|
||||||
print(" " * 4 + f' {self.var}{self.hl}{self.violet}{dep[1]}{self.endc}')
|
print(" " * 4 + f' {self.var}{self.hl} {self.violet}{dep[1]}{self.endc}')
|
||||||
print(f'\n{self.grey}{len(dependees)} dependees for {pkg}{self.endc}\n')
|
print(f'\n{self.grey}{len(dependees)} dependees for {pkg}{self.endc}\n')
|
||||||
|
|
||||||
def find_requires(self, sbo):
|
def find_requires(self, sbo):
|
||||||
|
|
Loading…
Reference in a new issue