Skip to content

Commit

Permalink
Correct SonarCloud exception -> S2190
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 20, 2023
1 parent a443993 commit 3a2e943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ciscoconfparse/ccp_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -4023,9 +4023,9 @@ def __setitem__(self, ii, val):
def insert(self, ii, val):
# Insert at the end of the list with new_last_list_idx = len(self._list)
new_last_list_idx = len(self._list)
#pragma warning disable S4026
#pragma warning disable S2190
self._list.insert(new_last_list_idx, val)
#pragma warning restore S4026
#pragma warning restore S2190
return self

# This method is on CiscoRange()
Expand Down

0 comments on commit 3a2e943

Please sign in to comment.