mirror of
https://github.com/isjerryxiao/pacroller.git
synced 2024-12-23 22:59:24 +08:00
change no match msg
This commit is contained in:
parent
ef7198ec78
commit
87cf03b56d
1 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ def _log_parser(log: List[str], report: checkReport) -> None:
|
|||
ln -= 1
|
||||
break
|
||||
else:
|
||||
report.crit(f'[NOM] {msg}')
|
||||
report.crit(f'[NOM-ALPM] {msg}')
|
||||
elif source == 'ALPM-SCRIPTLET':
|
||||
(_, _, _pmsg) = _split_log_line(log[ln-1])
|
||||
if _m := REGEX['l_upgrade'].match(_pmsg):
|
||||
|
@ -248,7 +248,7 @@ def _log_parser(log: List[str], report: checkReport) -> None:
|
|||
elif _m := REGEX['l_remove'].match(_pmsg):
|
||||
pkg, *_ = _m.groups()
|
||||
else:
|
||||
report.crit(f'{line=} has unknown SCRIPTLET output')
|
||||
report.crit(f'[NOM-SCRIPTLET] {_pmsg}')
|
||||
ln += 1
|
||||
continue
|
||||
logger.debug(f'.install start {pkg=}')
|
||||
|
|
Loading…
Reference in a new issue