]> git.scottworley.com Git - pinch/blobdiff - pinch.py
fetch_resource is just for Channels
[pinch] / pinch.py
index 78c6d52a325d70fc6b3d0aa065a744708f93fa95..d8bf75cf3747f44f9b0547b0db72d631166775da 100644 (file)
--- 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(