sanitycheck: fix early messages
When managing build artifacts the logger hasn't been initialized. Use print() here instead. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
1fe1f3a23d
commit
2d8d4c5562
1 changed files with 2 additions and 2 deletions
|
@ -3918,12 +3918,12 @@ def main():
|
||||||
# Cleanup
|
# Cleanup
|
||||||
if options.no_clean or options.only_failed or options.test_only:
|
if options.no_clean or options.only_failed or options.test_only:
|
||||||
if os.path.exists(options.outdir):
|
if os.path.exists(options.outdir):
|
||||||
logger.info("Keeping artifacts untouched")
|
print("Keeping artifacts untouched")
|
||||||
elif os.path.exists(options.outdir):
|
elif os.path.exists(options.outdir):
|
||||||
for i in range(1, 100):
|
for i in range(1, 100):
|
||||||
new_out = options.outdir + ".{}".format(i)
|
new_out = options.outdir + ".{}".format(i)
|
||||||
if not os.path.exists(new_out):
|
if not os.path.exists(new_out):
|
||||||
logger.info("Renaming output directory to {}".format(new_out))
|
print("Renaming output directory to {}".format(new_out))
|
||||||
shutil.move(options.outdir, new_out)
|
shutil.move(options.outdir, new_out)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue