Skip to content

Commit d71da88

Browse files
authored
fixed sstsimulator_conf_get_value_bool (#1121)
- was throwing AttributeError - getbool doesn't exist in configparser library - should be getboolean
1 parent c13aff9 commit d71da88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sst/core/testingframework/sst_unittest_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ def _get_sstsimulator_conf_value(section, key, default=None, data_type=str):
18021802
if data_type == float:
18031803
return core_conf_file_parser.getfloat(section, key)
18041804
if data_type == bool:
1805-
return core_conf_file_parser.getbool(section, key)
1805+
return core_conf_file_parser.getboolean(section, key)
18061806
except configparser.Error as exc_e:
18071807
rtn_default = _handle_config_err(exc_e, default)
18081808
if default is None:

0 commit comments

Comments
 (0)