Mailing List Archive

CVS: python/dist/src/Objects moduleobject.c,2.32,2.33
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv32751/python/dist/src/Objects

Modified Files:
moduleobject.c
Log Message:
Repair "module has no attribute xxx" error msg; bug introduced when
switching from tp_getattr to tp_getattro.


Index: moduleobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/moduleobject.c,v
retrieving revision 2.32
retrieving revision 2.33
diff -C2 -r2.32 -r2.33
*** moduleobject.c 2001/05/11 21:51:48 2.32
--- moduleobject.c 2001/05/12 20:24:22 2.33
***************
*** 181,185 ****
PyErr_Format(PyExc_AttributeError,
"'%.50s' module has no attribute '%.400s'",
! modname, name);
}
else
--- 181,185 ----
PyErr_Format(PyExc_AttributeError,
"'%.50s' module has no attribute '%.400s'",
! modname, sname);
}
else