diff options
author | Gavin John <gavinnjohn@gmail.com> | 2024-08-06 09:54:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 02:54:01 -0600 |
commit | e3904d4cbf63645228278209a12f534719c705cd (patch) | |
tree | 930aca35c6cb3c8c345a8feba437a40a7148710d /lib | |
parent | e1bcbcf9f3d5e3e259577e15980e5792da73106c (diff) | |
download | spack-e3904d4cbf63645228278209a12f534719c705cd.tar.gz spack-e3904d4cbf63645228278209a12f534719c705cd.tar.bz2 spack-e3904d4cbf63645228278209a12f534719c705cd.tar.xz spack-e3904d4cbf63645228278209a12f534719c705cd.zip |
Fix spack url stats (#45584)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/cmd/url.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/url.py b/lib/spack/spack/cmd/url.py index 38dd6a4aeb..cb151b26d9 100644 --- a/lib/spack/spack/cmd/url.py +++ b/lib/spack/spack/cmd/url.py @@ -339,7 +339,7 @@ def url_stats(args): for pkg_cls in spack.repo.PATH.all_package_classes(): npkgs += 1 - for v in pkg_cls.versions: + for v in list(pkg_cls.versions): try: pkg = pkg_cls(spack.spec.Spec(pkg_cls.name)) fetcher = fs.for_package_version(pkg, v) |