Skip to content

Commit

Permalink
Fix hanging parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 13, 2023
1 parent dbb9d63 commit 5bdbfcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ciscoconfparse/ccp_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def captured(self):
# do NOT wrap with @logger.catch(...)
def _get_ipv4(val="", strict=False, stdlib=False, debug=0):
"""Return the requested IPv4 object to the caller. This method heavily depends on IPv4Obj()"""
if not (isinstance(val, (str, int)):
if not isinstance(val, (str, int)):
raise ValueError

if not isinstance(strict, bool):
Expand Down

0 comments on commit 5bdbfcb

Please sign in to comment.