From 4aaa88e0a2069e14830f07f1ad3190d6d13b43a0 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 15 Jun 2020 12:36:25 -0700 Subject: [PATCH] fetch_resource is just for Channels --- pinch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.44.1