From 811b304230ee597c03bcf0580e827252d5ac1fe2 Mon Sep 17 00:00:00 2001 From: Carson Woods Date: Wed, 17 Jul 2019 09:47:29 -0600 Subject: [PATCH] Remove old code --- lib/spack/spack/modules/common.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/spack/spack/modules/common.py b/lib/spack/spack/modules/common.py index e345071c9e7..d5f872badf0 100644 --- a/lib/spack/spack/modules/common.py +++ b/lib/spack/spack/modules/common.py @@ -52,14 +52,6 @@ #: config section for this file configuration = spack.config.get('modules') -#: Root folders where the various module files should be written -#: When install --upstream run then the upstream location is targeted -# if spack.config.get('config:shared'): -# roots = {'tcl': os.path.join(spack.util.path.canonicalize_path("$spack") ,'/share/spack/modules'), -# 'lmod': os.path.join(spack.util.path.canonicalize_path("$spack") ,'/share/spack/lmod'), -# 'dotkit': os.path.join(spack.util.path.canonicalize_path("$spack") ,'/share/spack/dotkit')} -# else: -# roots = spack.config.get('config:module_roots', {}) roots = spack.config.get('config:module_roots', {})