From 0d7a4f0c733d100024d6e0af8845067087073f3d Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Wed, 5 Feb 2020 17:42:42 -0600 Subject: [PATCH] newupdate.py: Bail immediately on a bad dependency graph. --- staging/newupdate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/staging/newupdate.py b/staging/newupdate.py index 25c61a68..370e01b0 100755 --- a/staging/newupdate.py +++ b/staging/newupdate.py @@ -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()):