Skip to content

Commit

Permalink
Fix an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Nov 2, 2023
1 parent 95e42b4 commit daf9cb3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ciscoconfparse/ciscoconfparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit daf9cb3

Please sign in to comment.