From f64b42e11bb45947b15ed48b30cd3fd487412902 Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 10 Apr 2019 21:03:38 +0800 Subject: [PATCH] timeout should be int --- buildbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot.py b/buildbot.py index 76e08ab..7663547 100755 --- a/buildbot.py +++ b/buildbot.py @@ -200,7 +200,7 @@ class jobsManager: else: timeout = 60 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): logger.info(f'Requesting repo update for {f.name}') res = rrun('push_done', args=(f.name,), kwargs={'overwrite': False,})