diff --git a/CHANGES.md b/CHANGES.md index dabd114..2338d27 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,12 @@ - Summary: - Insert something here +## Version: 1.9.20 + +- Released: 2023-11-02 +- Summary: + - Fix an error message + ## Version: 1.9.19 - Released: 2023-11-02 diff --git a/ciscoconfparse/ciscoconfparse.py b/ciscoconfparse/ciscoconfparse.py index f943d25..072aef3 100644 --- a/ciscoconfparse/ciscoconfparse.py +++ b/ciscoconfparse/ciscoconfparse.py @@ -5015,8 +5015,8 @@ def insert_after(self, exist_val=None, new_val=None, atomic=False, new_val_inden else: - logger.error(error) - raise ValueError(error) + logger.error(err_txt) + raise ValueError(err_txt) # Find all config lines which need to be modified... store in all_idx diff --git a/pyproject.toml b/pyproject.toml index eb252b6..66d280e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ requires-python = ">=3.8.0" [tool.poetry] name = "ciscoconfparse" -version = "1.9.19" +version = "1.9.20" description = "Parse, Audit, Query, Build, and Modify Cisco IOS-style and JunOS-style configs" license = "GPL-3.0-only" authors = [