From 0d60e4e2ec7d2ae21454f69aa583095c0e02f070 Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Thu, 11 Oct 2018 02:51:12 -0400 Subject: [PATCH] Missing state flush after checking initial file existence. This caused an assertion in some error conditions. --- redo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/redo.py b/redo.py index 5265a6a..95d46ef 100755 --- a/redo.py +++ b/redo.py @@ -53,6 +53,7 @@ try: if not f.is_generated: warn('%s: exists and not marked as generated; not redoing.\n' % f.nicename()) + state.rollback() j = atoi(opt.jobs or 1) if j < 1 or j > 1000: