From: Scott Worley Date: Mon, 15 Jun 2020 19:36:25 +0000 (-0700) Subject: fetch_resource is just for Channels X-Git-Tag: 2.0.0~17 X-Git-Url: http://git.scottworley.com/pinch/commitdiff_plain/4aaa88e0a2069e14830f07f1ad3190d6d13b43a0 fetch_resource is just for Channels --- diff --git a/pinch.py b/pinch.py index 78c6d52..d8bf75c 100644 --- a/pinch.py +++ b/pinch.py @@ -305,7 +305,7 @@ def fetch_with_nix_prefetch_url( return path # type: ignore # (for old mypy) -def fetch_resources(v: Verification, channel: TarrableSearchPath) -> None: +def fetch_resources(v: Verification, channel: ChannelSearchPath) -> None: for resource in ['git-revision', 'nixexprs.tar.xz']: fields = channel.table[resource] fields.absolute_url = urllib.parse.urljoin(