From 19ebd0492a8fa2961cf75d88ff4c847c47f18d0d Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 15 Jan 2018 16:36:13 +0000 Subject: [PATCH] setup-config: fix another os.remove() call The remove method is in the top-level os module, not os.path - I missed this call last time... Signed-off-by: Joshua Lock --- scripts/setup-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup-config b/scripts/setup-config index a55ff2e..ba239c2 100755 --- a/scripts/setup-config +++ b/scripts/setup-config @@ -68,7 +68,7 @@ except OSError as e: sdkextraconf = os.path.join(builddir, "conf", "sdk-extra.conf") if os.path.exists(sdkextraconf): - os.path.remove(sdkextraconf) + os.remove(sdkextraconf) if contains(["BUILD_HISTORY_DIR", "build-history-targets", "BUILD_HISTORY_REPO"], ourconfig): if target in ourconfig["build-history-targets"]: