Skip to content

Commit 84bfdc4

Browse files
committed
update
1 parent c910f2e commit 84bfdc4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

vcast_exec.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,14 @@ def __init__(self, args):
236236
self.cleanup("pclp", "gl-code-quality-report.json")
237237
self.cleanup(".", self.mpName + "_aggregate_report.html")
238238
self.cleanup(".", self.mpName + "_metrics_report.html")
239+
self.cleanup(".", "*.log")
239240

240-
def cleanup(self, dirName, fname):
241-
for file in glob.glob(os.path.join(self.xml_data_dir, dirName, fname + "*.*")):
241+
def cleanup(self, dirName, fname = ""):
242+
243+
if fname == "":
244+
fname = "*.*"
245+
246+
for file in glob.glob(os.path.join(self.xml_data_dir, dirName, fname)):
242247
try:
243248
os.remove(file);
244249
except:

0 commit comments

Comments
 (0)