summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJordan Galby <67924449+Jordan474@users.noreply.github.com>2024-07-04 14:30:30 +0200
committerGitHub <noreply@github.com>2024-07-04 14:30:30 +0200
commit491cb278f3496ce135a15c2998fdd945b87b15c6 (patch)
treee3363d341c8467efcbbac55bb5ac51d9ffc6ed8a /lib
parented1ebefd8fa9758df678a9b06a84fc1c751f50c9 (diff)
downloadspack-491cb278f3496ce135a15c2998fdd945b87b15c6.tar.gz
spack-491cb278f3496ce135a15c2998fdd945b87b15c6.tar.bz2
spack-491cb278f3496ce135a15c2998fdd945b87b15c6.tar.xz
spack-491cb278f3496ce135a15c2998fdd945b87b15c6.zip
spack audit packages: Fix message (#45045)
Fix message formatting of the "virtual dependency cannot have variants" error.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/audit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/audit.py b/lib/spack/spack/audit.py
index 3154723e16..faef15393d 100644
--- a/lib/spack/spack/audit.py
+++ b/lib/spack/spack/audit.py
@@ -791,7 +791,7 @@ def _issues_in_depends_on_directive(pkgs, error_cls):
return
error = error_cls(
f"{pkg_name}: {msg}",
- f"remove variants from '{spec}' in depends_on directive in {filename}",
+ [f"remove variants from '{spec}' in depends_on directive in {filename}"],
)
errors.append(error)