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 <joshua.g.lock@intel.com>
This commit is contained in:
Joshua Lock 2018-01-15 16:36:13 +00:00
parent c4fd38e466
commit 19ebd0492a

View File

@ -68,7 +68,7 @@ except OSError as e:
sdkextraconf = os.path.join(builddir, "conf", "sdk-extra.conf") sdkextraconf = os.path.join(builddir, "conf", "sdk-extra.conf")
if os.path.exists(sdkextraconf): 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 contains(["BUILD_HISTORY_DIR", "build-history-targets", "BUILD_HISTORY_REPO"], ourconfig):
if target in ourconfig["build-history-targets"]: if target in ourconfig["build-history-targets"]: