From d44818a9da861ef3f69968ad23337ad362145e92 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 12 Jun 2020 23:10:08 -0700 Subject: [PATCH 1/1] Introduce SearchPath type --- pinch.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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] -- 2.44.1