From: Scott Worley <scottworley@scottworley.com>
Date: Sat, 13 Jun 2020 06:10:08 +0000 (-0700)
Subject: Introduce SearchPath type
X-Git-Tag: 2.0.0~33
X-Git-Url: http://git.scottworley.com/pinch/commitdiff_plain/d44818a9da861ef3f69968ad23337ad362145e92

Introduce SearchPath type
---

diff --git a/pinch.py b/pinch.py
index 47f4e34..0c0103b 100644
--- a/pinch.py
+++ b/pinch.py
@@ -50,7 +50,11 @@ class ChannelTableEntry(types.SimpleNamespace):
     url: str
 
 
-class Channel(types.SimpleNamespace):
+class SearchPath(types.SimpleNamespace):
+    release_name: str
+
+
+class Channel(SearchPath):
     alias_of: str
     channel_html: bytes
     channel_url: str
@@ -59,7 +63,6 @@ class Channel(types.SimpleNamespace):
     git_repo: str
     git_revision: str
     old_git_revision: str
-    release_name: str
     table: Dict[str, ChannelTableEntry]