diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-10-18 15:53:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 15:53:51 +0200 |
commit | 30e8dd95b54bb60b0b696ec85fb7f9b71f5e79dc (patch) | |
tree | 5a06afe5eb102b4f7080d996d822405c52cec680 /lib | |
parent | 1e5f7b35420e4154cb6dc71c19b0172c2aead80d (diff) | |
download | spack-30e8dd95b54bb60b0b696ec85fb7f9b71f5e79dc.tar.gz spack-30e8dd95b54bb60b0b696ec85fb7f9b71f5e79dc.tar.bz2 spack-30e8dd95b54bb60b0b696ec85fb7f9b71f5e79dc.tar.xz spack-30e8dd95b54bb60b0b696ec85fb7f9b71f5e79dc.zip |
Remove unused exist_errors in installer.py (#26650)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/installer.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/spack/spack/installer.py b/lib/spack/spack/installer.py index d7a6ca0a67..798f63cb81 100644 --- a/lib/spack/spack/installer.py +++ b/lib/spack/spack/installer.py @@ -1495,7 +1495,6 @@ class PackageInstaller(object): 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 @@ class PackageInstaller(object): 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)) |