Skip to content

Commit 44531f9

Browse files
committed
Rename function for clarity
1 parent 20b87b6 commit 44531f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/coinstall-check/compare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import json
1212

1313

14-
def compare_trees(base: Path) -> bool:
14+
def compare_install_manifests(base: Path) -> bool:
1515
"""Compare all json manifests inside the directory at base."""
1616
hashes_seen: dict[str, str] = {}
1717
tags_seen_by_platform: dict[str, set[frozenset[str]]] = {}
@@ -110,7 +110,7 @@ def main() -> None:
110110
help="Directory containing hashes of Python installs.",
111111
)
112112
args = p.parse_args()
113-
if not compare_trees(args.base_directory):
113+
if not compare_install_manifests(args.base_directory):
114114
raise SystemExit(1)
115115

116116

0 commit comments

Comments
 (0)