diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-03-16 10:30:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 10:30:52 +0100 |
commit | 50cc1d12f913f83aee9c5fd9ab59da6bf8a98098 (patch) | |
tree | 22468f572b3727a09ef0043d92871100d53e09f4 /lib | |
parent | c29168eff1b37c9c89db3d2de8aad94e998cb8db (diff) | |
download | spack-50cc1d12f913f83aee9c5fd9ab59da6bf8a98098.tar.gz spack-50cc1d12f913f83aee9c5fd9ab59da6bf8a98098.tar.bz2 spack-50cc1d12f913f83aee9c5fd9ab59da6bf8a98098.tar.xz spack-50cc1d12f913f83aee9c5fd9ab59da6bf8a98098.zip |
Revert "minify spec.json in buildcache (#36138)" (#36156)
This reverts commit 1a8eefe09b034f8dda564e60b5b1905f53958aa2.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/binary_distribution.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py index 327e6ab434..5ce7b62452 100644 --- a/lib/spack/spack/binary_distribution.py +++ b/lib/spack/spack/binary_distribution.py @@ -1343,7 +1343,7 @@ def _build_tarball_in_stage_dir( spec_dict["buildinfo"] = buildinfo with open(specfile_path, "w") as outfile: - outfile.write(json.dumps(spec_dict)) + outfile.write(sjson.dump(spec_dict)) # sign the tarball and spec file with gpg if not unsigned: |