From: Scott Worley Date: Mon, 15 Jun 2020 19:55:30 +0000 (-0700) Subject: Fix not-pinned check X-Git-Tag: 2.0.0~15 X-Git-Url: http://git.scottworley.com/pinch/commitdiff_plain/55ae4ff693dee4323804eae4232141fb2e524c7e?ds=inline Fix not-pinned check --- 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)