summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/modules/common.py3
-rw-r--r--lib/spack/spack/modules/lmod.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/spack/spack/modules/common.py b/lib/spack/spack/modules/common.py
index b9f2dce099..eaf79f6d04 100644
--- a/lib/spack/spack/modules/common.py
+++ b/lib/spack/spack/modules/common.py
@@ -44,9 +44,12 @@ import spack.build_environment
import spack.config
import spack.environment
import spack.error
+import spack.modules.common
import spack.paths
import spack.projections as proj
+import spack.repo
import spack.schema.environment
+import spack.store
import spack.tengine as tengine
import spack.util.environment
import spack.util.file_permissions as fp
diff --git a/lib/spack/spack/modules/lmod.py b/lib/spack/spack/modules/lmod.py
index 54add9563d..bb288336ea 100644
--- a/lib/spack/spack/modules/lmod.py
+++ b/lib/spack/spack/modules/lmod.py
@@ -17,6 +17,7 @@ import spack.error
import spack.repo
import spack.spec
import spack.tengine as tengine
+import spack.util.environment
from .common import BaseConfiguration, BaseContext, BaseFileLayout, BaseModuleFileWriter