Skip to content

Commit c442188

Browse files
committed
refactor(kmir.py): better logging
1 parent 225dabc commit c442188

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
@@ -204,11 +204,9 @@ def prove_rs(opts: ProveRSOpts) -> APRProof:
204204
and item['mono_item_kind']['MonoItemFn'].get('body') is None
205205
]
206206
has_missing = len(missing_body_syms) > 0
207-
_LOGGER.info(
208-
f'Reduced items table size {len(smir_info.items)}; '
209-
f'missing-bodies-present={has_missing} count={len(missing_body_syms)}'
210-
)
207+
_LOGGER.info(f'Reduced items table size {len(smir_info.items)}')
211208
if has_missing:
209+
_LOGGER.info(f'missing-bodies-present={has_missing} count={len(missing_body_syms)}')
212210
_LOGGER.debug(f'Missing-body function symbols (first 5): {missing_body_syms[:5]}')
213211

214212
kmir = KMIR.from_kompiled_kore(

0 commit comments

Comments
 (0)