mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-12-22 19:09:23 +08:00
extra: fix bug
This commit is contained in:
parent
4a577db1ac
commit
a4a7aece24
1 changed files with 1 additions and 1 deletions
2
extra.py
2
extra.py
|
@ -33,7 +33,7 @@ def gen_pkglist(pkgconfigs, pkgvers, pkgerrs):
|
|||
ps = ('type', 'cleanbuild', 'timeout')
|
||||
hps = ('prebuild', 'postbuild', 'update', 'failure')
|
||||
dps = {p:getattr(pc, p, None) for p in ps}
|
||||
dhps = {p:'\n'.join(str(getattr(pc, p, None))) for p in hps}
|
||||
dhps = {p:'\n'.join([str(cmd) for cmd in getattr(pc, p, None)]) for p in hps}
|
||||
# additional package details
|
||||
ves = {'version': pkgvers.get(pc.dirname, None), 'errors': pkgerrs.get(pc.dirname, None)}
|
||||
pkgall[pc.dirname] = {**dps, **dhps, **ves}
|
||||
|
|
Loading…
Reference in a new issue