Bug fix
This commit is contained in:
@@ -77,6 +77,9 @@ If the configuration file content is:
|
||||
the result will be `{'section1': {'key1': 'value1', 'key2': 'value2', 'number': 42, 'number2': 3.14, 'number3': -1, 'boolean': True, 'boolean2': False, 'null': None}, 'section2': {'hello': 'world'}, 'section3': {'key': 'value'}}`
|
||||
|
||||
## Changelog
|
||||
### Version 1.2.1
|
||||
- Bug fix: `jeb_utils.exceptions.ConfigurationSyntaxError` has inherited from `SyntaxError`, which is semantically wrong. Now it is a normal exception and it inherits from `Exception`.
|
||||
|
||||
### Version 1.2.0
|
||||
- Support for a default configuration for INI files
|
||||
- Consistent `__all__` lists in all modules
|
||||
|
||||
+1
-1
@@ -4,5 +4,5 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "config-parser"
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
description = "A configuration file parser."
|
||||
@@ -16,7 +16,7 @@ __all__ = [
|
||||
'JSONTypeError'
|
||||
]
|
||||
|
||||
class ConfigurationSyntaxError(SyntaxError): ...
|
||||
class ConfigurationSyntaxError(Exception): ...
|
||||
|
||||
class EscapeSequenceSyntaxError(ConfigurationSyntaxError): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user