]> git.scottworley.com Git - pinch/commitdiff
fetch_resource is just for Channels
authorScott Worley <scottworley@scottworley.com>
Mon, 15 Jun 2020 19:36:25 +0000 (12:36 -0700)
committerScott Worley <scottworley@scottworley.com>
Thu, 18 Jun 2020 06:15:29 +0000 (23:15 -0700)
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)
 
 
     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(
     for resource in ['git-revision', 'nixexprs.tar.xz']:
         fields = channel.table[resource]
         fields.absolute_url = urllib.parse.urljoin(