diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/database.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/spack/spack/database.py b/lib/spack/spack/database.py index bfe98cd4a0..ea4d705869 100644 --- a/lib/spack/spack/database.py +++ b/lib/spack/spack/database.py @@ -1033,9 +1033,7 @@ class Database(object): self._read_from_file(self._index_path) return elif self.is_upstream: - raise UpstreamDatabaseLockingError( - "No database index file is present, and upstream" - " databases cannot generate an index file") + tty.warn('upstream not found: {0}'.format(self._index_path)) def _add( self, |