mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
lf_check.py : create the meta.txt if it does not exist
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -1153,7 +1153,7 @@ http://{blog}:2368""".format(blog=self.blog_host_ghost)
|
|||||||
break
|
break
|
||||||
stdout_log_fd.close()
|
stdout_log_fd.close()
|
||||||
if meta_data_path != "":
|
if meta_data_path != "":
|
||||||
meta_data_fd = open(meta_data_path,'w')
|
meta_data_fd = open(meta_data_path,'w+')
|
||||||
meta_data_fd.write('$ Generated by Candela Technologies LANforge network testing tool\n')
|
meta_data_fd.write('$ Generated by Candela Technologies LANforge network testing tool\n')
|
||||||
meta_data_fd.write('$ meta.txt file location\n')
|
meta_data_fd.write('$ meta.txt file location\n')
|
||||||
meta_data_fd.write("file {path}\n".format(path=meta_data_path))
|
meta_data_fd.write("file {path}\n".format(path=meta_data_path))
|
||||||
|
|||||||
Reference in New Issue
Block a user