From ec0d33b2a4f9bd77e85a6ffedd31323a081d8765 Mon Sep 17 00:00:00 2001 From: Jerry Date: Tue, 9 Apr 2019 15:49:25 +0800 Subject: [PATCH] forgot something --- buildbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildbot.py b/buildbot.py index c397958..f74d34e 100755 --- a/buildbot.py +++ b/buildbot.py @@ -125,6 +125,8 @@ class jobsManager: # This part check for updates if time() - self.last_updatecheck <= UPDATE_INTERVAL: sleep(60) + return + self.last_updatecheck = time() updates = updmgr.check_update() for update in updates: (pkgconfig, ver, buildarchs) = update