Removed unused

This commit is contained in:
Dimitris Zlatanidis 2023-04-19 23:03:28 +03:00
parent fc37aec327
commit 1d70f7a94a

View file

@ -67,25 +67,24 @@ class Tracking(Configs):
else:
for i, req in enumerate(requires, start=1):
if not self.utils.blacklist_pattern(req):
how_many += 1
how_many += 1
require: str = f'{self.cyan}{req}{self.endc}'
require: str = f'{self.cyan}{req}{self.endc}'
if self.option_for_pkg_version:
if self.option_for_pkg_version:
if self.option_for_binaries:
version: str = ' (not included)'
if data.get(req):
version: str = f' {self.yellow}{data[req][0]}{self.endc}'
else:
version: str = f' {self.yellow}{data[req][2]}{self.endc}'
require: str = f'{self.cyan}{req}{self.endc}{version}'
if i == 1:
print(f' {require}')
if self.option_for_binaries:
version: str = ' (not included)'
if data.get(req):
version: str = f' {self.yellow}{data[req][0]}{self.endc}'
else:
print(f'{sp}{require}')
version: str = f' {self.yellow}{data[req][2]}{self.endc}'
require: str = f'{self.cyan}{req}{self.endc}{version}'
if i == 1:
print(f' {require}')
else:
print(f'{sp}{require}')
print(f'\n{self.grey}{how_many} dependencies for {package}{self.endc}\n')