Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 10, 2023
2 parents 8623e89 + d2ae6d4 commit 136eef8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ciscoconfparse/ccp_abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,6 @@ def _list_reassign_linenums(self):
# by confobj.delete()) in favor of a simpler approach
# in confobj.delete()
#
# def _list_reassign_linenums(self):
# self.confobj._reassign_linenums()
raise NotImplementedError()

# On BaseCfgLine()
Expand Down Expand Up @@ -608,7 +606,8 @@ def delete(self, recurse=True):
logger.debug(" Deleting <IOSCfgLine(line # {})>.".format(linenum))
del self.confobj._list[linenum]

self.confobj._reassign_linenums()
# W0212: Access to a protected attribute (i.e. with leading underscore)
self.confobj._reassign_linenums() # noqa: W0212
return True

# On BaseCfgLine()
Expand Down

0 comments on commit 136eef8

Please sign in to comment.