File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1125,7 +1125,7 @@ def list_toolchains_md(tcs):
11251125 none_txt = '*(none)*'
11261126
11271127 # Initialize an empty list of lists for the table data
1128- table_values = [[] for i in range (len (table_titles ))]
1128+ table_values = [[] for _ in range (len (table_titles ))]
11291129
11301130 for col_id , col_name in enumerate (table_titles ):
11311131 if col_name == 'NAME' :
@@ -1141,6 +1141,8 @@ def list_toolchains_md(tcs):
11411141 entry = 'cray-mpich'
11421142 elif col_name == 'LINALG' :
11431143 entry = 'cray-libsci'
1144+ else :
1145+ entry = none_txt
11441146 # Combine the linear algebra libraries into a single column
11451147 elif col_name == 'LINALG' :
11461148 linalg = []
@@ -1185,7 +1187,7 @@ def list_toolchains_rst(tcs):
11851187 none_txt = '*(none)*'
11861188
11871189 # Initialize an empty list of lists for the table data
1188- table_values = [[] for i in range (len (table_titles ))]
1190+ table_values = [[] for _ in range (len (table_titles ))]
11891191
11901192 for col_id , col_name in enumerate (table_titles ):
11911193 if col_name == 'NAME' :
@@ -1201,6 +1203,8 @@ def list_toolchains_rst(tcs):
12011203 entry = 'cray-mpich'
12021204 elif col_name == 'LINALG' :
12031205 entry = 'cray-libsci'
1206+ else :
1207+ entry = none_txt
12041208 # Combine the linear algebra libraries into a single column
12051209 elif col_name == 'LINALG' :
12061210 linalg = []
You can’t perform that action at this time.
0 commit comments