Removed dead code.
This commit is contained in:
parent
58430d8611
commit
4ed499531b
|
|
@ -109,10 +109,12 @@ class CfgYamlReader(object):
|
|||
logger.debug("Parsing "+kind+" "+name_type)
|
||||
o_var = reg_class.get_class_for(otype)()
|
||||
o_var.set_tree(o_tree)
|
||||
try:
|
||||
o_var.config()
|
||||
except KiPlotConfigurationError as e:
|
||||
config_error("In section `"+name_type+"`: "+str(e))
|
||||
# No errors yet
|
||||
# try:
|
||||
# o_var.config()
|
||||
# except KiPlotConfigurationError as e:
|
||||
# config_error("In section `"+name_type+"`: "+str(e))
|
||||
o_var.config()
|
||||
return o_var
|
||||
|
||||
def _parse_variants(self, v):
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ logger = log.get_logger(__name__)
|
|||
class DNFList(Optionable):
|
||||
_default = DNF
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
# def __init__(self):
|
||||
# super().__init__()
|
||||
|
||||
|
||||
@filter_class
|
||||
|
|
|
|||
Loading…
Reference in New Issue