[buildbot] phase1: fix option parsing typo for 'ul_lock'

LEDE Commits lede-commits at lists.infradead.org
Mon May 15 08:39:09 PDT 2023


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

commit 3846e8a7e9b9d3cd3ef4a4ef214c467e8c87c28f
Author: Thibaut VARÈNE <hacks at slashdirt.org>
AuthorDate: Thu Oct 20 16:06:54 2022 +0200

    phase1: fix option parsing typo for 'ul_lock'
    
    Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
 phase1/master.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index 09d3cd4..2e5076e 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -99,7 +99,7 @@ for section in ini.sections():
 				if lockname not in NetLocks:
 					NetLocks[lockname] = locks.MasterLock(lockname)
 			if ini.has_option(section, "ul_lock"):
-				lockname = ini.get(section, "dl_lock")
+				lockname = ini.get(section, "ul_lock")
 				sl_props['ul_lock'] = lockname
 				if lockname not in NetLocks:
 					NetLocks[lockname] = locks.MasterLock(lockname)




More information about the lede-commits mailing list