From 97ae56915e13c384bb1717da1838e2586e5e2afc Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 4 Jul 2022 17:52:59 +0800 Subject: [PATCH] fix edge case in --dump mode for pddbdb.py shouldn't crash when not in CI analysis mode --- tools/pddbdbg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pddbdbg.py b/tools/pddbdbg.py index 53406b370..fb12d5c87 100755 --- a/tools/pddbdbg.py +++ b/tools/pddbdbg.py @@ -394,7 +394,7 @@ class KeyDescriptor: print_len = len(self.data) extra = '' else: - if (PRINTED_FULL == False) and (self.ci_ok == False): + if DO_CI_TESTS and (PRINTED_FULL == False) and (self.ci_ok == False): print_len = len(self.data) extra = '' PRINTED_FULL = True