mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-11-22 21:10:41 +08:00
timeout should be int
This commit is contained in:
parent
3fd4fb3c79
commit
f64b42e11b
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class jobsManager:
|
||||||
else:
|
else:
|
||||||
timeout = 60
|
timeout = 60
|
||||||
logger.info(f'Uploading {f}, timeout in {timeout}s')
|
logger.info(f'Uploading {f}, timeout in {timeout}s')
|
||||||
mon_bash(UPLOAD_CMD.format(src=f), seconds=timeout)
|
mon_bash(UPLOAD_CMD.format(src=f), seconds=int(timeout))
|
||||||
if f.name.endswith(PKG_SUFFIX):
|
if f.name.endswith(PKG_SUFFIX):
|
||||||
logger.info(f'Requesting repo update for {f.name}')
|
logger.info(f'Requesting repo update for {f.name}')
|
||||||
res = rrun('push_done', args=(f.name,), kwargs={'overwrite': False,})
|
res = rrun('push_done', args=(f.name,), kwargs={'overwrite': False,})
|
||||||
|
|
Loading…
Reference in a new issue