Update web UI following SASI removal; clean up references to SAHD in Python sources

This commit is contained in:
nucleogenic 2022-09-03 17:39:14 +01:00
parent ddeede2beb
commit 8c7ab75835
No known key found for this signature in database
GPG Key ID: 04A5E4E319C4271D
4 changed files with 3 additions and 5 deletions

View File

@ -48,7 +48,6 @@ class RaCtlCmds:
# Creates lists of file endings recognized by RaSCSI
mappings = result.server_info.mapping_info.mapping
sahd = []
schd = []
scrm = []
scmo = []

View File

@ -247,7 +247,7 @@ class CtrlBoardMenuUpdateEventHandler(Observer):
device_type = device_info["device_list"][0]["device_type"]
image = device_info["device_list"][0]["image"]
if device_type in ("SAHD", "SCHD", "SCBR", "SCDP", "SCLP", "SCHS"):
if device_type in ("SCHD", "SCBR", "SCDP", "SCLP", "SCHS"):
result = self.ractl_cmd.detach_by_id(scsi_id)
if result["status"] is True:
self.show_id_action_message(scsi_id, "detached")

View File

@ -1282,10 +1282,10 @@ msgstr "Apagar la Raspberry Pi"
#~ msgstr "Liberar la reserva"
#~ msgid ""
#~ "Types: SAHD = SASI HDD | SCHD = SCSI HDD | SCRM = Removable | SCMO = Magneto-"
#~ "Types: SCHD = SCSI HDD | SCRM = Removable | SCMO = Magneto-"
#~ "Optical | SCCD = CD-ROM | SCBR = Host Bridge | SCDP = DaynaPORT"
#~ msgstr ""
#~ "Tipos: SAHD = SASI HDD | SCHD = SCSI HDD | SCRM = extraíble | SCMO = magneto-"
#~ "Tipos: SCHD = SCSI HDD | SCRM = extraíble | SCMO = magneto-"
#~ "optico | SCCD = CD-ROM | SCBR = Host Bridge | SCDP = DaynaPORT"
#~ msgid "Attach Ethernet Adapter"

View File

@ -134,7 +134,6 @@ def index():
formatted_devices = sort_and_format_devices(devices["device_list"])
valid_image_suffixes = "." + ", .".join(
server_info["sahd"] +
server_info["schd"] +
server_info["scrm"] +
server_info["scmo"] +