mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Removed unused
This commit is contained in:
parent
fc37aec327
commit
1d70f7a94a
1 changed files with 15 additions and 16 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue