Skip to content

Commit fe3b24c

Browse files
committed
refactor(kmir.py): better logging
1 parent e5bb27e commit fe3b24c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

kmir/src/kmir/kmir.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,9 @@ def prove_rs(opts: ProveRSOpts) -> APRProof:
189189
and item['mono_item_kind']['MonoItemFn'].get('body') is None
190190
]
191191
has_missing = len(missing_body_syms) > 0
192-
_LOGGER.info(
193-
f'Reduced items table size {len(smir_info.items)}; '
194-
f'missing-bodies-present={has_missing} count={len(missing_body_syms)}'
195-
)
192+
_LOGGER.info(f'Reduced items table size {len(smir_info.items)}')
196193
if has_missing:
194+
_LOGGER.info(f'missing-bodies-present={has_missing} count={len(missing_body_syms)}')
197195
_LOGGER.debug(f'Missing-body function symbols (first 5): {missing_body_syms[:5]}')
198196

199197
kmir = KMIR.from_kompiled_kore(

0 commit comments

Comments
 (0)