aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-24 12:00:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-24 12:00:07 +0000
commit4ea16f4c73e4ed410b4e647c1dfbdf2dcc7f7718 (patch)
tree1fe11922c258b997fa7ba6e686104081261e7ae1
parenteb3fea83fafaf808a7e86225851fa73b072cdf2f (diff)
downloadyocto-autobuilder2-4ea16f4c73e4ed410b4e647c1dfbdf2dcc7f7718.tar.gz
yocto-autobuilder2-4ea16f4c73e4ed410b4e647c1dfbdf2dcc7f7718.tar.bz2
yocto-autobuilder2-4ea16f4c73e4ed410b4e647c1dfbdf2dcc7f7718.zip
schedulers: Fix variable name error
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--schedulers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/schedulers.py b/schedulers.py
index d3047c8..187aaa8 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -48,9 +48,9 @@ def parent_default_props(buildername):
if not repos:
repos = config.buildertorepos["default"]
for repo in repos:
- props["repo_{}".format(reponame)] = config.repos[repo][0]
- props["branch_{}".format(reponame)] = config.repos[repo][1]
- props["commit_{}".format(reponame)] = "HEAD"
+ props["repo_{}".format(repo)] = config.repos[repo][0]
+ props["branch_{}".format(repo)] = config.repos[repo][1]
+ props["commit_{}".format(repo)] = "HEAD"
return props
def buildappsrcrev_param():