[buildbot] builtmaster,phase1: add missing services dict

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 6 07:07:59 GMT 2021


ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/db4c7476536c0eeb43ce13692c2885e2d896492d

commit db4c7476536c0eeb43ce13692c2885e2d896492d
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Fri Mar 5 13:06:21 2021 +0100

    builtmaster,phase1: add missing services dict
    
    Fixes following error:
    
     2021-03-05 11:00:54+0000 [-] error while parsing config file:
     ...
            builtins.KeyError: 'services'
    
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 phase1/master.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index e01a1a5..5773257 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -1347,7 +1347,7 @@ if ini.has_option("phase1", "status_bind"):
 			roleMatchers=[ util.RolesFromUsername(roles=["admins"], usernames=[ini.get("phase1", "status_user")]) ]
 		)
 
-
+c['services'] = []
 if ini.has_option("irc", "host") and ini.has_option("irc", "nickname") and ini.has_option("irc", "channel"):
 	irc_host = ini.get("irc", "host")
 	irc_port = 6667



More information about the lede-commits mailing list