Add missing llnl.* imports (#47618)
This commit is contained in:
parent
b7993317ea
commit
66a93b5433
@ -39,7 +39,7 @@
|
||||
|
||||
import llnl.util.filesystem
|
||||
import llnl.util.tty as tty
|
||||
from llnl.util.lang import dedupe, memoized
|
||||
from llnl.util.lang import Singleton, dedupe, memoized
|
||||
|
||||
import spack.build_environment
|
||||
import spack.config
|
||||
@ -246,7 +246,7 @@ def _generate_upstream_module_index():
|
||||
return UpstreamModuleIndex(spack.store.STORE.db, module_indices)
|
||||
|
||||
|
||||
upstream_module_index = llnl.util.lang.Singleton(_generate_upstream_module_index)
|
||||
upstream_module_index = Singleton(_generate_upstream_module_index)
|
||||
|
||||
|
||||
ModuleIndexEntry = collections.namedtuple("ModuleIndexEntry", ["path", "use_name"])
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
import llnl.string
|
||||
import llnl.util.lang
|
||||
import llnl.util.symlink
|
||||
import llnl.util.tty as tty
|
||||
from llnl.util.filesystem import (
|
||||
can_access,
|
||||
|
Loading…
Reference in New Issue
Block a user