difference between option/optiondescription in PropertiesOptionError message
This commit is contained in:
@ -909,7 +909,7 @@ class SymLinkOption(OnlyOption):
|
||||
self.commit()
|
||||
|
||||
def __getattr__(self, name, context=undefined):
|
||||
if name in ('_opt', '_opt_type', '_readonly', 'impl_getpath', '_name',
|
||||
if name in ('_opt', '_readonly', 'impl_getpath', '_name',
|
||||
'_state_opt', '_impl_setopt'):
|
||||
return object.__getattr__(self, name)
|
||||
else:
|
||||
@ -963,7 +963,7 @@ class DynSymLinkOption(object):
|
||||
self._opt = opt
|
||||
|
||||
def __getattr__(self, name, context=undefined):
|
||||
if name in ('_opt', '_opt_type', '_readonly', 'impl_getpath', '_name', '_state_opt'):
|
||||
if name in ('_opt', '_readonly', 'impl_getpath', '_name', '_state_opt'):
|
||||
return object.__getattr__(self, name)
|
||||
else:
|
||||
return getattr(self._impl_getopt(), name)
|
||||
|
Reference in New Issue
Block a user