Commit 412730c4 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #578 from toshok/getattr-default-exc

for getattrFunc use getattrInternal instead of getattr
parents 2be06383 1603542c
......@@ -427,7 +427,7 @@ Box* getattrFunc(Box* obj, Box* _str, Box* default_value) {
Box* rtn = NULL;
try {
rtn = getattr(obj, str->data());
rtn = getattrInternal(obj, str->data(), NULL);
} catch (ExcInfo e) {
if (!e.matches(AttributeError))
throw e;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment