Skip to content

Commit

Permalink
Fix SonarCloud recursion alert S2190
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 20, 2023
1 parent ea55f33 commit fc46efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ciscoconfparse/ccp_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -4023,7 +4023,7 @@ 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)
self.insert(new_last_list_idx, val)
self._list.insert(new_last_list_idx, val)
return self

# This method is on CiscoRange()
Expand Down

0 comments on commit fc46efb

Please sign in to comment.