Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def get_fans_name_list(self):
for x in range(1, n_fan + 1):
f_index = int(round(float(x)/2))
pos = 1 if x % 2 else 2
fan_name = 'FAN{}-{}'.format(f_index, pos)
fan_name = 'FAN{}_{}'.format(f_index, pos)
fan_names.append(fan_name)

return fan_names
Expand Down Expand Up @@ -291,7 +291,7 @@ def get_all(self):
fan_dict["HighThd"] = fan_sp_list[2]
fan_dict["PN"] = fan_fru_dict[f_index]["PN"]
fan_dict["SN"] = fan_fru_dict[f_index]["SN"]
fan_name = 'FAN{}-{}'.format(f_index, pos)
fan_name = 'FAN{}_{}'.format(f_index, pos)
all_fan_dict[fan_name] = fan_dict
break

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def get_fans_name_list(self):
for x in range(1, n_fan + 1):
f_index = int(round(float(x)/2))
pos = 1 if x % 2 else 2
fan_name = 'FAN{}-{}'.format(f_index, pos)
fan_name = 'FAN{}_{}'.format(f_index, pos)
fan_names.append(fan_name)

return fan_names
Expand Down Expand Up @@ -291,7 +291,7 @@ def get_all(self):
fan_dict["HighThd"] = fan_sp_list[2]
fan_dict["PN"] = fan_fru_dict[f_index]["PN"]
fan_dict["SN"] = fan_fru_dict[f_index]["SN"]
fan_name = 'FAN{}-{}'.format(f_index, pos)
fan_name = 'FAN{}_{}'.format(f_index, pos)
all_fan_dict[fan_name] = fan_dict
break

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def get_fans_name_list(self):
for x in range(1, n_fan + 1):
f_index = int(round(float(x)/2))
pos = 1 if x % 2 else 2
fan_name = 'FAN{}-{}'.format(f_index, pos)
fan_name = 'FAN{}_{}'.format(f_index, pos)
fan_names.append(fan_name)

return fan_names
Expand Down Expand Up @@ -286,7 +286,7 @@ def get_all(self):
fan_dict["HighThd"] = fan_sp_list[2]
fan_dict["PN"] = fan_fru_dict[f_index]["PN"]
fan_dict["SN"] = fan_fru_dict[f_index]["SN"]
fan_name = 'FAN{}-{}'.format(f_index, pos)
fan_name = 'FAN{}_{}'.format(f_index, pos)
all_fan_dict[fan_name] = fan_dict
break

Expand Down