[autobuilder-helper,thud,02/40] run-config: Fix uninitalized variable problem
Submitted by Richard Purdie on Sept. 10, 2020, 1:29 p.m.
|
Patch ID: 176324
Details
Commit Message
@@ -151,7 +151,7 @@ def runcmd(cmd, *args, **kwargs):
except subprocess.CalledProcessError:
print("ERROR: Command %s failed" % cmd)
-bh_path, remoterepo, remotebranch, baseremotebranch = utils.getbuildhistoryconfig(ourconfig, args.builddir, args.target, args.reponame, args.branchname, stepnum)
+bh_path, remoterepo, remotebranch, baseremotebranch = utils.getbuildhistoryconfig(ourconfig, args.builddir, args.target, args.reponame, args.branchname, 1)
if bh_path:
runcmd([os.path.join(scriptsdir, "buildhistory-init"), bh_path, remoterepo, remotebranch, baseremotebranch])
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- scripts/run-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)