From a374ea9c0a7579d181f074367b5fb6ebf1d39a59 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 1 Jul 2016 18:30:21 +0100 Subject: [PATCH] Executive: Allow out-of-order manipulations of flights intended play Flights being operated on by a developer hacking about with the code, which were created with intended blessing `play', are usually blessed `running' or `broken' or something. So the safety catch bypass needs to look at the intended blessing too. Signed-off-by: Ian Jackson --- Osstest/JobDB/Executive.pm | 6 +++--- README.dev | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Osstest/JobDB/Executive.pm b/Osstest/JobDB/Executive.pm index 51c1ebb..c21eba7 100644 --- a/Osstest/JobDB/Executive.pm +++ b/Osstest/JobDB/Executive.pm @@ -102,14 +102,14 @@ sub dbfl_check ($$) { #method } die unless ref($flok) eq 'ARRAY'; - my ($bless) = $dbh_tests->selectrow_array(<selectrow_array(<