mirror of
https://github.com/akuker/RASCSI.git
synced 2024-05-27 17:48:29 +00:00
Don't log names of internal symbols that can be used for attacks
This commit is contained in:
parent
37b9110c99
commit
7b5d5332cf
|
@ -107,8 +107,7 @@ class CtrlBoardMenuUpdateEventHandler(Observer):
|
|||
except AttributeError:
|
||||
log = logging.getLogger(__name__)
|
||||
log.error(
|
||||
"Handler function [%s] not found or returned an error. Skipping.",
|
||||
str(handler_function_name),
|
||||
"Handler function not found or returned an error. Skipping.",
|
||||
)
|
||||
|
||||
# noinspection PyUnusedLocal
|
||||
|
|
|
@ -8,7 +8,7 @@ from piscsi.piscsi_cmds import PiscsiCmds
|
|||
|
||||
|
||||
class CtrlBoardMenuBuilder(MenuBuilder):
|
||||
"""Class fgor building the control board UI specific menus"""
|
||||
"""Class for building the control board UI specific menus"""
|
||||
|
||||
SCSI_ID_MENU = "scsi_id_menu"
|
||||
ACTION_MENU = "action_menu"
|
||||
|
@ -48,7 +48,7 @@ class CtrlBoardMenuBuilder(MenuBuilder):
|
|||
return self.create_device_info_menu(context_object)
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
log.warning("Provided menu name [%s] cannot be built!", name)
|
||||
log.error("Provided menu name cannot be built!")
|
||||
|
||||
return self.create_scsi_id_list_menu(context_object)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user