diff --git a/ciscoconfparse/ccp_util.py b/ciscoconfparse/ccp_util.py index 33411998..369dcc1e 100644 --- a/ciscoconfparse/ccp_util.py +++ b/ciscoconfparse/ccp_util.py @@ -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()