From 03811338b3bc9d07d491454ba5646ba2dd912463 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 29 Jul 2020 21:33:54 -0500 Subject: Fix `get`, `set`, `delete` and `has` in BaseParser --- config_file/parsers/toml_parser.py | 1 - 1 file changed, 1 deletion(-) (limited to 'config_file/parsers/toml_parser.py') diff --git a/config_file/parsers/toml_parser.py b/config_file/parsers/toml_parser.py index d369003..58e20b9 100644 --- a/config_file/parsers/toml_parser.py +++ b/config_file/parsers/toml_parser.py @@ -9,7 +9,6 @@ from config_file.exceptions import MissingDependencyError from .base_parser import BaseParser - class TomlParser(BaseParser): def __init__(self, file_contents: str): if not TOML_AVAILABLE: -- cgit v1.2.3 From e40a3a23fb6649758f40e9b67e3f3100ec23f116 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 30 Jul 2020 12:57:56 -0500 Subject: Fix missing dependency error messages for yaml and toml --- config_file/parsers/toml_parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config_file/parsers/toml_parser.py') diff --git a/config_file/parsers/toml_parser.py b/config_file/parsers/toml_parser.py index 58e20b9..1c7f8a7 100644 --- a/config_file/parsers/toml_parser.py +++ b/config_file/parsers/toml_parser.py @@ -9,11 +9,12 @@ from config_file.exceptions import MissingDependencyError from .base_parser import BaseParser + class TomlParser(BaseParser): def __init__(self, file_contents: str): if not TOML_AVAILABLE: raise MissingDependencyError( - "It doesn't appear `toml` is installed, but a toml " + "It doesn't appear `tomlkit` is installed, but a toml " "file was attempted to be used. Install the `toml` " "extra first with `pip install config-file[toml]`." ) -- cgit v1.2.3