mirror of
https://github.com/isjerryxiao/pacroller.git
synced 2024-12-23 06:39:24 +08:00
suppress warning from pycman
This commit is contained in:
parent
bbdcf094dc
commit
57e96c2650
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ class alpmCallback:
|
|||
def upgrade() -> List[str]:
|
||||
logger.info('upgrade start')
|
||||
handle = pycman.config.init_with_config(PACMAN_CONFIG)
|
||||
pycman.config.cb_log = lambda *_: None
|
||||
localdb = handle.get_localdb()
|
||||
alpmCallback().setup_hdl(handle)
|
||||
t = handle.init_transaction()
|
||||
|
|
Loading…
Reference in a new issue