diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-12 12:12:16 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-12 12:12:16 -0600 |
commit | 7591c0f54fa3272df0f6b7057f6096bb513e9328 (patch) | |
tree | 96ee729a98ca2904da9779f4ccf7659aa3e8a038 /repos/__init__.py | |
parent | 52737fe6fdec0d168a3f31a632a9cfb3f91a9e4f (diff) | |
download | where-packaged-canon.tar.gz where-packaged-canon.zip |
Diffstat (limited to 'repos/__init__.py')
-rw-r--r-- | repos/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repos/__init__.py b/repos/__init__.py index 75f25c3..fbdca5e 100644 --- a/repos/__init__.py +++ b/repos/__init__.py @@ -26,7 +26,7 @@ def update_versions(): for repo in all_repos: repo.update() -def get_versions(package: str, args: Mapping[str, str]) -> Mapping[str, Version]: +def get_versions(package: str, args: Mapping[str, str]) -> Mapping[Repository, Version]: special_cases = dict() for repo, name in args.items(): special_cases[repo] = name @@ -42,5 +42,5 @@ def get_versions(package: str, args: Mapping[str, str]) -> Mapping[str, Version] package_here = package repo_version = repo.get_version(package_here) if repo_version is not None: - result[repo.full_name()] = repo_version + result[repo] = repo_version return result |