diff --git a/lib/spack/spack/audit.py b/lib/spack/spack/audit.py index 8a48a017d7a..dd9405f4536 100644 --- a/lib/spack/spack/audit.py +++ b/lib/spack/spack/audit.py @@ -446,7 +446,7 @@ def _check_patch_urls(pkgs, error_cls): f"patch URL in package {pkg_cls.name} must not be a pull request commit", [patch.url], ) - ) + ) elif re.match(github_patch_url_re, patch.url): full_index_arg = "?full_index=1" if not patch.url.endswith(full_index_arg):