File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -159,9 +159,7 @@ def check_lib_links_md(bundle_path):
159159 lib_count = len (submodules_list )
160160 # used to generate commit message by comparing new libs to current list
161161 try :
162- with open (
163- os .path .join (bundle_path , listfile_name ), "r"
164- ) as lib_list :
162+ with open (os .path .join (bundle_path , listfile_name ), "r" ) as lib_list :
165163 read_lines = lib_list .read ().splitlines ()
166164 except OSError :
167165 read_lines = []
@@ -204,9 +202,7 @@ def check_lib_links_md(bundle_path):
204202 "## Drivers:\n " ,
205203 ]
206204
207- with open (
208- os .path .join (bundle_path , listfile_name ), "w"
209- ) as md_file :
205+ with open (os .path .join (bundle_path , listfile_name ), "w" ) as md_file :
210206 md_file .write ("\n " .join (lib_list_header ))
211207 for line in sorted (write_drivers ):
212208 md_file .write (line + "\n " )
You can’t perform that action at this time.
0 commit comments