allow running extras

This commit is contained in:
JerryXiao 2019-09-08 17:09:06 +08:00
parent d66d4e1f7b
commit df56fb73d7
Signed by: Jerry
GPG key ID: 9D9CE43650FF2BAA

View file

@ -563,7 +563,7 @@ def extras(action, pkgname=None):
def run(funcname, args=list(), kwargs=dict()):
if funcname in ('info', 'rebuild_package', 'clean', 'clean_all',
'force_upload', 'getup'):
'force_upload', 'getup', 'extras'):
logger.debug('running: %s %s %s',funcname, args, kwargs)
ret = eval(funcname)(*args, **kwargs)
logger.debug('run: done: %s %s %s',funcname, args, kwargs)