]> git.scottworley.com Git - pinch/blobdiff - pinch.py
Introduce SearchPath type
[pinch] / pinch.py
index 47f4e34a261779d1a880a7693e8cc66b22f2f871..0c0103b2ece62df9c9b1ecbee8bf5fdb2d42a812 100644 (file)
--- 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]