reload yml

This commit is contained in:
JerryXiao 2019-04-09 21:29:13 +08:00
parent a3c15910d4
commit a2197b4f5e
Signed by: Jerry
GPG key ID: 9D9CE43650FF2BAA

View file

@ -54,7 +54,7 @@ class jobsManager:
self.__buildjobs = list()
self.__uploadjobs = list()
self.__curr_job = None
self.pkgconfigs = load_all_yaml()
self.pkgconfigs = None
self.last_updatecheck = 0.0
self.idle = False
def _new_buildjob(self, job):
@ -168,6 +168,7 @@ class jobsManager:
return
self.last_updatecheck = time()
self.idle = False
self.pkgconfigs = load_all_yaml()
updates = updmgr.check_update()
for update in updates:
(pkgconfig, ver, buildarchs) = update