mirror of
https://gitee.com/openharmony/update_packaging_tools
synced 2024-11-27 00:40:39 +00:00
update utils.py.
Signed-off-by: zhangcan42 <zhangcan42@h-partners.com>
This commit is contained in:
parent
6829b7f82c
commit
8705d72e64
6
utils.py
6
utils.py
@ -112,9 +112,9 @@ class ExtInit:
|
||||
self.funs = []
|
||||
|
||||
def reg_event(self, evevt_id, funs):
|
||||
self.funs.append([evevt_id, funs])
|
||||
UPDATE_LOGGER.print_log(
|
||||
'register event %s: %s' % (evevt_id, funs.__name__))
|
||||
self.funs.append([evevt_id, funs])
|
||||
UPDATE_LOGGER.print_log(
|
||||
'register event %s: %s' % (evevt_id, funs.__name__))
|
||||
|
||||
def invoke_event(self, evevt_id):
|
||||
UPDATE_LOGGER.print_log(self.funs)
|
||||
|
Loading…
Reference in New Issue
Block a user