doc
This commit is contained in:
@ -373,18 +373,6 @@ class NetmaskOption(Option):
|
||||
# by now the validation is nothing but a string, use IPy instead
|
||||
return isinstance(value, str)
|
||||
|
||||
#class ArbitraryOption(Option):
|
||||
# def __init__(self, name, doc, default=None, defaultfactory=None,
|
||||
# requires=None, multi=False, mandatory=False):
|
||||
# super(ArbitraryOption, self).__init__(name, doc, requires=requires,
|
||||
# multi=multi, mandatory=mandatory)
|
||||
# self.defaultfactory = defaultfactory
|
||||
# if defaultfactory is not None:
|
||||
# assert default is None
|
||||
|
||||
# def _validate(self, value):
|
||||
# return True
|
||||
|
||||
class OptionDescription(HiddenBaseType, DisabledBaseType):
|
||||
"Config's schema (organisation) and container of Options"
|
||||
"the group_type is an attribute useful for iteration on groups in a config"
|
||||
|
Reference in New Issue
Block a user