soc-2008-mxcurioni: merged changes to revision 15163

This commit is contained in:
Maxime Curioni
2008-06-08 20:12:29 +00:00
152 changed files with 20247 additions and 2671 deletions

View File

@@ -848,7 +848,7 @@ static int Sockoutmap_assign_subscript(BPy_SockMap *self, PyObject *pyidx, PyObj
if (PyInt_Check(pyidx)) {
idx = (int)PyInt_AsLong(pyidx);
if (idx < 0 || idx >= Sockinmap_len(self))
if (idx < 0 || idx >= Sockoutmap_len(self))
return EXPP_ReturnIntError(PyExc_IndexError, "index out of range");
}
else if (PyString_Check(pyidx)) {