]> git.scottworley.com Git - pinch/commitdiff
Fix not-pinned check
authorScott Worley <scottworley@scottworley.com>
Mon, 15 Jun 2020 19:55:30 +0000 (12:55 -0700)
committerScott Worley <scottworley@scottworley.com>
Thu, 18 Jun 2020 06:15:29 +0000 (23:15 -0700)
pinch.py

index 6f3f2567975758af3b81bc1f225706c686174525..4c2341f6f03d772525c5e6531fda657ff5458fd9 100644 (file)
--- 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)