Skip to content

Commit

Permalink
Remove 'def CCP(syntax=ios)'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 10, 2023
1 parent 1a4b974 commit c71d7fc
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions ciscoconfparse/ciscoconfparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -5535,19 +5535,6 @@ def decrypt(self, ep=""):
return dp


if False:

def CCP(syntax="ios"):
if syntax == "ios":
return CiscoConfParse(syntax="ios")
elif syntax == "nxos":
return CiscoConfParse(syntax="nxos", ignore_blank_lines=False)
elif syntax == "asa":
return CiscoConfParse(syntax="asa", ignore_blank_lines=True)
elif syntax == "junos":
return CiscoConfParse(syntax="junos", ignore_blank_lines=True)


def ConfigLineFactory(text="", comment_delimiter="!", syntax="ios"):
"""A factory method to assign a custom *CfgLine() object based on the contents of the input text parameter and input syntax parameter."""
# Complicted & Buggy
Expand Down

0 comments on commit c71d7fc

Please sign in to comment.