fix edge case in --dump mode for pddbdb.py

shouldn't crash when not in CI analysis mode
This commit is contained in:
bunnie 2022-07-04 17:52:59 +08:00
parent baa5097313
commit 97ae56915e

View file

@ -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