- configurationInfos[name] = {}
- configurationInfos[name]["value"] = value
- configurationInfos[name]["informations"] = informations
- if not "type" in configurationInfos[name]["informations"]:
- configurationInfos[name]["informations"]["type"] = findParameterType(configurationInfos[name])
- if ("type" in configurationInfos[name]["informations"].keys() and
- configurationInfos[name]["informations"]["type"] == "int" and
- configurationInfos[name]["value"].find("L") != -1):
- configurationInfos[name]["informations"]["long"] = True
- configurationInfos[name]["value"] = configurationInfos[name]["value"].replace("L", "")
- if ("type" in configurationInfos[name]["informations"].keys() and
- configurationInfos[name]["informations"]["type"] == "int" and
- configurationInfos[name]["value"].find("U") != -1):
- configurationInfos[name]["informations"]["unsigned"] = True
- configurationInfos[name]["value"] = configurationInfos[name]["value"].replace("U", "")
- configurationInfos[name]["description"] = description
- configurationInfos[name]["brief"] = brief
- return configurationInfos
+ configuration_infos[name] = {}
+ configuration_infos[name]["value"] = value
+ configuration_infos[name]["informations"] = informations
+ if not "type" in configuration_infos[name]["informations"]:
+ configuration_infos[name]["informations"]["type"] = findParameterType(configuration_infos[name])
+ if ("type" in configuration_infos[name]["informations"].keys() and
+ configuration_infos[name]["informations"]["type"] == "int" and
+ configuration_infos[name]["value"].find("L") != -1):
+ configuration_infos[name]["informations"]["long"] = True
+ configuration_infos[name]["value"] = configuration_infos[name]["value"].replace("L", "")
+ if ("type" in configuration_infos[name]["informations"].keys() and
+ configuration_infos[name]["informations"]["type"] == "int" and
+ configuration_infos[name]["value"].find("U") != -1):
+ configuration_infos[name]["informations"]["unsigned"] = True
+ configuration_infos[name]["value"] = configuration_infos[name]["value"].replace("U", "")
+ configuration_infos[name]["description"] = description
+ configuration_infos[name]["brief"] = brief
+ return configuration_infos