[autobuilder-helper,thud,06/40] utils: Fix incorrect module usage

Submitted by Richard Purdie on Sept. 10, 2020, 1:30 p.m. | Patch ID: 176328

Details

Message ID 20200910133035.2044355-6-richard.purdie@linuxfoundation.org
State New
Headers show

Commit Message

Richard Purdie Sept. 10, 2020, 1:30 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 scripts/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/scripts/utils.py b/scripts/utils.py
index 31e1537..68652d9 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -196,7 +196,7 @@  def loadconfig():
 #
 def getbuildhistoryconfig(ourconfig, builddir, target, reponame, branchname, stepnum):
     if contains(["BUILD_HISTORY_DIR", "BUILD_HISTORY_REPO"], ourconfig):
-        if utils.getconfigvar("BUILDHISTORY", ourconfig, target, stepnum):
+        if getconfigvar("BUILDHISTORY", ourconfig, target, stepnum):
             base = None
             if "/" in reponame:
                 reponame = reponame.rsplit("/", 1)[1]