Skip to content

Commit

Permalink
Fix broken equals statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 11, 2023
1 parent 4f29f09 commit d0867ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ciscoconfparse/ccp_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1741,9 +1741,9 @@ def __init__(self, arg=f"::1/{IPV6_MAX_PREFIXLEN}", strict=False, debug=0):

tmp = re.split(r"\s+", arg.strip())
if len(tmp)==2:
arg=="/".join(tmp)
arg="/".join(tmp)
elif len(tmp)==1:
arg==tmp[0]
arg=tmp[0]
else:
raise NotImplementedError(arg.strip())

Expand Down

0 comments on commit d0867ba

Please sign in to comment.