informations attribute finally works
This commit is contained in:
parent
e1357fd5c5
commit
783e982c9b
|
@ -54,7 +54,6 @@ def valid_name(name):
|
|||
#
|
||||
|
||||
class BaseInformation:
|
||||
informations = {}
|
||||
|
||||
def set_information(self, key, value):
|
||||
"""updates the information's attribute
|
||||
|
@ -152,6 +151,7 @@ class Option(BaseType, BaseInformation):
|
|||
"for option {1}".format(str(default), name))
|
||||
self.default = default
|
||||
self.properties = [] # 'hidden', 'disabled'...
|
||||
self.informations = {}
|
||||
|
||||
def validate(self, value, validate=True):
|
||||
"""
|
||||
|
@ -417,6 +417,7 @@ class OptionDescription(BaseType, BaseInformation):
|
|||
self._requires = requires
|
||||
self._build()
|
||||
self.properties = [] # 'hidden', 'disabled'...
|
||||
self.informations = {}
|
||||
|
||||
def getdoc(self):
|
||||
return self.doc
|
||||
|
|
Loading…
Reference in New Issue