Remove unused exist_errors in installer.py (#26650)

This commit is contained in:
Harmen Stoppels 2021-10-18 15:53:51 +02:00 committed by GitHub
parent 1e5f7b3542
commit 30e8dd95b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1495,7 +1495,6 @@ def install(self):
fail_fast_err = 'Terminating after first install failure'
single_explicit_spec = len(self.build_requests) == 1
failed_explicits = []
exists_errors = []
term_title = TermTitle(len(self.build_pq))
@ -1711,10 +1710,7 @@ def install(self):
missing = [request.pkg_id for request in self.build_requests if
request.install_args.get('install_package') and
request.pkg_id not in self.installed]
if exists_errors or failed_explicits or missing:
for pkg_id, err in exists_errors:
tty.error('{0}: {1}'.format(pkg_id, err))
if failed_explicits or missing:
for pkg_id, err in failed_explicits:
tty.error('{0}: {1}'.format(pkg_id, err))