Commit 608d733602a56bfc3a7e3a390bf789ab0a43ad0e
1 parent
00dc7a8a
增加日志
Showing
1 changed file
with
1 additions
and
0 deletions
commons/scripts/delReport.py
@@ -12,6 +12,7 @@ | @@ -12,6 +12,7 @@ | ||
12 | import os,sys | 12 | import os,sys |
13 | 13 | ||
14 | def delReport(path,delNum=5): | 14 | def delReport(path,delNum=5): |
15 | + print("path",path) | ||
15 | file_list = os.listdir(os.path.abspath(os.path.join(path, "../")) + "/report/") | 16 | file_list = os.listdir(os.path.abspath(os.path.join(path, "../")) + "/report/") |
16 | print("delReport file_lis --- ", file_list) | 17 | print("delReport file_lis --- ", file_list) |
17 | if len(file_list) > delNum: | 18 | if len(file_list) > delNum: |