From 5bdbfcb5438a4a0646642a4f990783bb06f42d0d Mon Sep 17 00:00:00 2001 From: mpenning Date: Thu, 12 Oct 2023 22:52:06 -0500 Subject: [PATCH] Fix hanging parenthesis --- ciscoconfparse/ccp_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):