From b1fc4533833ca25f59869bfec8ac114bf49c7847 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sat, 17 Apr 2021 17:22:30 -0700 Subject: [PATCH] fix _IfconfigParser name --- jc/parsers/ifconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jc/parsers/ifconfig.py b/jc/parsers/ifconfig.py index dd512e52..9be8d806 100644 --- a/jc/parsers/ifconfig.py +++ b/jc/parsers/ifconfig.py @@ -264,7 +264,7 @@ class _IfconfigParser(object): :return: """ for attr in kwargs.keys(): - if attr not in IfconfigParser.attributes: + if attr not in _IfconfigParser.attributes: raise ValueError("Attribute [{}] not supported.".format(attr)) filtered_interfaces = []