Fixed spaces

This commit is contained in:
Dimitris Zlatanidis 2023-01-06 22:18:12 +02:00
parent 97bfc1fd2f
commit b55cc76c18

View file

@ -39,20 +39,20 @@ class Dependees:
print(f'{self.byellow}{pkg}{self.endc}')
print(f' {self.llc}{self.hl}', end='')
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):
if i == 1:
print(f'{self.cyan}{dep[0]}{self.endc}')
print(f' {self.cyan}{dep[0]}{self.endc}')
else:
print(f'{sp}{self.cyan}{dep[0]}{self.endc}')
if '--full-reverse' in self.flags:
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:
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')
def find_requires(self, sbo):