newupdate.py: Bail immediately on a bad dependency graph.

This commit is contained in:
Zebediah Figura 2020-02-05 17:42:42 -06:00
parent 30c1e2757a
commit 0d7a4f0c73

View File

@ -72,6 +72,7 @@ def main():
for d in deps:
if d not in patchlist:
print 'Error: unknown or disabled dependency %s of %s.' %(d,p)
sys.exit(1)
# Now try to apply each patch
for p in sorted(patchlist.keys()):