phase1: fix crash on exception during Git update
[buildbot.git] / phase1 / master.cfg
index f511e03a5391b184073ce5453cbe2cbc0b584e48..c18ee74d746e201fbf3afa20f7bc9d2ce271442f 100644 (file)
@@ -142,7 +142,7 @@ def ini_parse_workers(section):
                log.msg("invalid worker configuration ignored: {}".format(repr(section)))
                return
 
-       sl_props = { 'dl_lock':None, 'ul_lock':None, 'tag_only':tagonly }
+       sl_props = { 'tag_only':tagonly }
        if "dl_lock" in section:
                lockname = section.get("dl_lock")
                sl_props['dl_lock'] = lockname