Using different var name for scheduler loop
This commit is contained in:
parent
6c86aad971
commit
749daca458
1 changed files with 2 additions and 2 deletions
|
@ -961,10 +961,10 @@ def load_config (c):
|
||||||
if "change_filter" in s:
|
if "change_filter" in s:
|
||||||
s['change_filter'] = globals ()[s['change_filter']]
|
s['change_filter'] = globals ()[s['change_filter']]
|
||||||
kls = globals ()[s.pop ('type')]
|
kls = globals ()[s.pop ('type')]
|
||||||
s = dict (map (lambda key_value_pair : (str (key_value_pair[0]),
|
d = dict (map (lambda key_value_pair : (str (key_value_pair[0]),
|
||||||
key_value_pair[1]),
|
key_value_pair[1]),
|
||||||
s.items ()))
|
s.items ()))
|
||||||
c['schedulers'].append (kls (**s))
|
c['schedulers'].append (kls (**d))
|
||||||
|
|
||||||
c['builders'] = []
|
c['builders'] = []
|
||||||
for b in config['builders']:
|
for b in config['builders']:
|
||||||
|
|
Loading…
Reference in a new issue