Merge pull request #829 from nucleogenic/python-remove-sahd-refs

Python updates following SASI removal
This commit is contained in:
Daniel Markstedt 2022-09-03 09:58:24 -07:00 committed by GitHub
commit 1d15122798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"] +