diff --git a/ciscoconfparse/ccp_util.py b/ciscoconfparse/ccp_util.py index e45babbf..b720b1eb 100644 --- a/ciscoconfparse/ccp_util.py +++ b/ciscoconfparse/ccp_util.py @@ -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):