summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/config.py b/lib/spack/spack/config.py
index c3165d1c9c..2ecb500390 100644
--- a/lib/spack/spack/config.py
+++ b/lib/spack/spack/config.py
@@ -737,7 +737,7 @@ def override(path_or_scope, value=None):
#: configuration scopes added on the command line
#: set by ``spack.main.main()``.
-command_line_scopes = [] # type: List[str]
+command_line_scopes: List[str] = []
def _add_platform_scope(cfg, scope_type, name, path):
@@ -989,7 +989,7 @@ def read_config_file(filename, schema=None):
if not os.path.exists(filename):
# Ignore nonexistent files.
- tty.debug("Skipping nonexistent config path {0}".format(filename))
+ tty.debug("Skipping nonexistent config path {0}".format(filename), level=3)
return None
elif not os.path.isfile(filename):