Removed KiBoM temporal files
This commit is contained in:
parent
92980bb8fa
commit
90004f923a
|
|
@ -7,6 +7,7 @@ import os
|
||||||
from sys import exit
|
from sys import exit
|
||||||
import operator
|
import operator
|
||||||
from shutil import which
|
from shutil import which
|
||||||
|
from glob import glob
|
||||||
from subprocess import (call, run, PIPE, check_output, CalledProcessError,
|
from subprocess import (call, run, PIPE, check_output, CalledProcessError,
|
||||||
STDOUT)
|
STDOUT)
|
||||||
import logging
|
import logging
|
||||||
|
|
@ -635,6 +636,8 @@ class Plotter(object):
|
||||||
except CalledProcessError as e:
|
except CalledProcessError as e:
|
||||||
logger.error('Failed to create BoM, error %d', e.returncode)
|
logger.error('Failed to create BoM, error %d', e.returncode)
|
||||||
exit(misc.BOM_ERROR)
|
exit(misc.BOM_ERROR)
|
||||||
|
for f in glob(os.path.join(outdir, prj)+'*.tmp'):
|
||||||
|
os.remove(f)
|
||||||
|
|
||||||
def _do_ibom(self, board, plot_ctrl, output, brd_file):
|
def _do_ibom(self, board, plot_ctrl, output, brd_file):
|
||||||
check_script(misc.CMD_IBOM, misc.URL_IBOM)
|
check_script(misc.CMD_IBOM, misc.URL_IBOM)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue