File tree 1 file changed +2
-6
lines changed
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):
159
159
lib_count = len (submodules_list )
160
160
# used to generate commit message by comparing new libs to current list
161
161
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 :
165
163
read_lines = lib_list .read ().splitlines ()
166
164
except OSError :
167
165
read_lines = []
@@ -204,9 +202,7 @@ def check_lib_links_md(bundle_path):
204
202
"## Drivers:\n " ,
205
203
]
206
204
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 :
210
206
md_file .write ("\n " .join (lib_list_header ))
211
207
for line in sorted (write_drivers ):
212
208
md_file .write (line + "\n " )
You can’t perform that action at this time.
0 commit comments