diff --git a/tiramisu/option/baseoption.py b/tiramisu/option/baseoption.py index 75eda1f..95cf9bf 100644 --- a/tiramisu/option/baseoption.py +++ b/tiramisu/option/baseoption.py @@ -1001,6 +1001,16 @@ class SymLinkOption(OnlyOption): def impl_is_readonly(self): return True + def impl_getproperties(self): + return self._impl_getopt()._properties + + def impl_get_callback(self): + return self._impl_getopt().impl_get_callback() + + def impl_has_callback(self): + "to know if a callback has been defined or not" + return self._impl_getopt().impl_has_callback() + def impl_is_multi(self): return self._impl_getopt().impl_is_multi() @@ -1020,7 +1030,10 @@ class DynSymLinkOption(object): self._opt = opt def __getattr__(self, name, context=undefined): - return getattr(self._impl_getopt(), name) + if name in ('_opt', '_readonly', 'impl_getpath', '_name', '_state_opt'): + return object.__getattr__(self, name) + else: + return getattr(self._impl_getopt(), name) def impl_getname(self): return self._name