]> git.scottworley.com Git - pinch/commitdiff
Remove assert that's now handled by types
authorScott Worley <scottworley@scottworley.com>
Wed, 17 Jun 2020 17:39:45 +0000 (10:39 -0700)
committerScott Worley <scottworley@scottworley.com>
Thu, 18 Jun 2020 06:15:29 +0000 (23:15 -0700)
pinch.py

index e1d8d3bbe859922421f2b34545e5069d1125d2da..266daffb35045fffd8b490a6e17f24b97169b42c 100644 (file)
--- a/pinch.py
+++ b/pinch.py
@@ -662,7 +662,6 @@ def updateCommand(args: argparse.Namespace) -> None:
                 'Cannot update unpinned channel "%s" (Run "pin" before "update")' %
                 section)
         if isinstance(sp, AliasSearchPath):
                 'Cannot update unpinned channel "%s" (Run "pin" before "update")' %
                 section)
         if isinstance(sp, AliasSearchPath):
-            assert 'git_repo' not in config[section]
             continue
         tarball = sp.fetch(v, pin)
         exprs[section] = (
             continue
         tarball = sp.fetch(v, pin)
         exprs[section] = (