From 55ae4ff693dee4323804eae4232141fb2e524c7e Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 15 Jun 2020 12:55:30 -0700 Subject: [PATCH 1/1] Fix not-pinned check --- pinch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinch.py b/pinch.py index 6f3f256..4c2341f 100644 --- a/pinch.py +++ b/pinch.py @@ -148,7 +148,7 @@ class GitSearchPath(TarrableSearchPath): def fetch(self, v: Verification, section: str, conf: configparser.SectionProxy) -> str: - if 'git_repo' not in conf or 'release_name' not in conf: + if 'git_revision' not in conf or 'release_name' not in conf: raise Exception( 'Cannot update unpinned channel "%s" (Run "pin" before "update")' % section) -- 2.44.1