diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/environment/environment.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/spack/spack/environment/environment.py b/lib/spack/spack/environment/environment.py index c6df78342a..67303c8a4d 100644 --- a/lib/spack/spack/environment/environment.py +++ b/lib/spack/spack/environment/environment.py @@ -1515,10 +1515,8 @@ class Environment(object): if not specs_to_install: tty.msg('All of the packages are already installed') - return - - tty.debug('Processing {0} uninstalled specs'.format( - len(specs_to_install))) + else: + tty.debug('Processing {0} uninstalled specs'.format(len(specs_to_install))) specs_to_overwrite = self._get_overwrite_specs() tty.debug('{0} specs need to be overwritten'.format( |