Skip to content
Snippets Groups Projects
Commit cc4e52b9 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix GaudiPython classes (follows up !1116)

See merge request !1155
parents bf481958 49fc17ad
No related branches found
No related tags found
1 merge request!1155Fix GaudiPython classes (follows up !1116)
Pipeline #2150408 passed
......@@ -542,6 +542,13 @@ def _get_attr_(self, pname):
"""
if self.hasProperty(pname):
return self._ialg.__getattr__(pname)
else:
# Since self does not inherit from iAlgorithm (see !1116, 4f05f03678),
# delegate attribute lookup to self._ialg.
try:
return getattr(self._ialg, pname)
except AttributeError:
pass
raise AttributeError('attribute/property %s does not exist' % pname)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment