(properties: ConfigParser, group: str, key: str)
| 75 | return get_property_or_default(properties, group, key, None) |
| 76 | |
| 77 | def get_boolean_property_or_false(properties: ConfigParser, group: str, key: str): |
| 78 | if group not in properties.sections(): |
| 79 | return False |
| 80 | if key not in properties[group].keys(): |
| 81 | return False |
| 82 | return properties[group][key] == "true" |
| 83 | |
| 84 | def safe_int(value: str, error_message: str): |
| 85 | try: |
no outgoing calls
no test coverage detected