File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,17 @@ def get_vdl_log_file(logdirs):
64
64
"exp2": "vdlrecords.1587375685.log"}
65
65
"""
66
66
walks = {}
67
+ walks_temp = {}
67
68
for logdir in logdirs :
68
69
for root , dirs , files in bfile .walk (logdir ):
69
70
walks .update ({root : files })
70
71
71
- walks_temp = {}
72
- for run , tags in walks .items ():
73
- tags_temp = [tag for tag in tags if
74
- is_VDLRecord_file (path = bfile .join (run , tag ), check = False )]
75
- tags_temp .sort (reverse = True )
76
- if len (tags_temp ) > 0 :
77
- walks_temp .update ({run : tags_temp [0 ]})
72
+ for run , tags in walks .items ():
73
+ tags_temp = [tag for tag in tags if
74
+ is_VDLRecord_file (path = bfile .join (run , tag ), check = False )]
75
+ tags_temp .sort (reverse = True )
76
+ if len (tags_temp ) > 0 :
77
+ walks_temp .update ({run : tags_temp [0 ]})
78
78
79
79
return walks_temp
80
80
You can’t perform that action at this time.
0 commit comments