Commit bbdaeeba authored by Tres Seaver's avatar Tres Seaver

Note that _p_serial should be bytes.

parent e692af82
......@@ -1075,7 +1075,7 @@ Per_set_serial(cPersistentObject *self, PyObject *v)
else
{
PyErr_SetString(PyExc_ValueError,
"_p_serial must be an 8-character string");
"_p_serial must be an 8-character bytes array");
return -1;
}
}
......
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