for getattrFunc use getattrInternal instead of getattr
getattr throws an exception if the attribute is not present. getattrFunc already throws the same exception (if there isn't a default value passed in).
Showing
Please register or sign in to comment