diff options
author | Alec Scott <hi@alecbcs.com> | 2023-10-11 10:46:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 19:46:23 +0200 |
commit | 5d582a5e48bfb7a1a13219aec502cae5a827f13b (patch) | |
tree | 1bc683251ed6ca9abb2217300c3e7a3a24831268 /var | |
parent | 7dbc712fbaefc99623a8b7c6b1d0772c5e6478f2 (diff) | |
download | spack-5d582a5e48bfb7a1a13219aec502cae5a827f13b.tar.gz spack-5d582a5e48bfb7a1a13219aec502cae5a827f13b.tar.bz2 spack-5d582a5e48bfb7a1a13219aec502cae5a827f13b.tar.xz spack-5d582a5e48bfb7a1a13219aec502cae5a827f13b.zip |
7zip: use f-strings (#40430)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/7zip/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/7zip/package.py b/var/spack/repos/builtin/packages/7zip/package.py index 2e9d09bbb9..123e233ab1 100644 --- a/var/spack/repos/builtin/packages/7zip/package.py +++ b/var/spack/repos/builtin/packages/7zip/package.py @@ -75,8 +75,8 @@ class _7zip(SourceforgePackage, Package): def build(self, spec, prefix): link_type = "1" if "static" in spec.variants["link_type"].value else "0" nmake_args = [ - "PLATFORM=%s" % self.plat_arch, - "MY_STATIC_LINK=%s" % link_type, + f"PLATFORM={self.plat_arch}", + f"MY_STATIC_LINK={link_type}", "NEW_COMPILER=1", ] # 7zips makefile is configured in such as way that if this value is set |