From ac16d6d41a2c48dbf4b0bc35e951edf3fd1d86dc Mon Sep 17 00:00:00 2001 From: mpenning Date: Tue, 24 Oct 2023 10:59:11 -0500 Subject: [PATCH] Remove dead code --- ciscoconfparse/ccp_util.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ciscoconfparse/ccp_util.py b/ciscoconfparse/ccp_util.py index 86364d2d..6e6db60b 100644 --- a/ciscoconfparse/ccp_util.py +++ b/ciscoconfparse/ccp_util.py @@ -1021,9 +1021,6 @@ def __init__(self, v4input=None, strict=False, debug=0): # nosec if v4input is None: self.empty = True - elif self.finished_parsing is True: - return self - elif isinstance(v4input, str): v4_str_rgx = _RGX_IPV4ADDR_WITH_MASK.search(v4input.strip()) if v4_str_rgx is not None: