diff --git a/ciscoconfparse/ccp_util.py b/ciscoconfparse/ccp_util.py index 78d452df..2baebc51 100644 --- a/ciscoconfparse/ccp_util.py +++ b/ciscoconfparse/ccp_util.py @@ -4136,7 +4136,7 @@ def remove(self, arg, debug=False): else: try: new_list = [ii for ii in list_before if result_type(ii) != arg] - except TypeError as eee: + except TypeError: if debug is True: error = "Found type mismatch: {arg}, {ii}" logger.debug(error)