Set some default values to None

This commit is contained in:
Enrique Martin 2023-08-02 11:42:20 +02:00
parent 8f72e9b6e7
commit 54dc1df12d
4 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ AIX = sys.platform.startswith("aix")
######################################################################################### #########################################################################################
def set_global_variable( def set_global_variable(
variable_name: str = "", variable_name: str = "",
value value = None
): ):
""" """
Sets the value of a global variable in the 'GLOBAL_VARIABLES' dictionary. Sets the value of a global variable in the 'GLOBAL_VARIABLES' dictionary.

View File

@ -31,7 +31,7 @@ def set_error_level(
######################################################################################### #########################################################################################
def set_summary_value( def set_summary_value(
key: str = "", key: str = "",
value = "" value = None
): ):
""" """
Sets a fixed value for a key in the 'SUMMARY' dictionary. Sets a fixed value for a key in the 'SUMMARY' dictionary.
@ -49,7 +49,7 @@ def set_summary_value(
######################################################################################### #########################################################################################
def add_summary_value( def add_summary_value(
key: str = "", key: str = "",
value = "" value = None
): ):
""" """
Adds a value to a key in the 'SUMMARY' dictionary. Adds a value to a key in the 'SUMMARY' dictionary.

View File

@ -30,7 +30,7 @@ def debug_dict(
def set_dict_key_value( def set_dict_key_value(
input_dict: dict = {}, input_dict: dict = {},
input_key: str = "", input_key: str = "",
input_value input_value = None
): ):
""" """
Assign to a key in a dict a given value Assign to a key in a dict a given value

View File

@ -27,7 +27,7 @@ GLOBAL_VARIABLES = {
######################################################################################### #########################################################################################
def set_global_variable( def set_global_variable(
variable_name: str = "", variable_name: str = "",
value value = None
): ):
""" """
Sets the value of a global variable in the 'GLOBAL_VARIABLES' dictionary. Sets the value of a global variable in the 'GLOBAL_VARIABLES' dictionary.