Skip to content

Commit 266553d

Browse files
committed
Fix: pass frame.
1 parent 7b0429e commit 266553d

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/module

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/module/ModuleBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Object getattribute(VirtualFrame frame, PythonModule self, Object key,
8888
e.expect(PythonBuiltinClassType.AttributeError, isAttrError);
8989
Object getAttr = readGetattr.execute(self, __GETATTR__);
9090
if (customGetAttr.profile(getAttr != PNone.NO_VALUE)) {
91-
return callNode.execute(null, getAttr, key);
91+
return callNode.execute(frame, getAttr, key);
9292
} else {
9393
throw e;
9494
}

0 commit comments

Comments
 (0)