equal
deleted
inserted
replaced
489 */ |
489 */ |
490 static PyObject *index_pack_header(indexObject *self, PyObject *args) |
490 static PyObject *index_pack_header(indexObject *self, PyObject *args) |
491 { |
491 { |
492 int header; |
492 int header; |
493 char out[4]; |
493 char out[4]; |
494 if (!PyArg_ParseTuple(args, "I", &header)) { |
494 if (!PyArg_ParseTuple(args, "i", &header)) { |
495 return NULL; |
495 return NULL; |
496 } |
496 } |
497 if (self->format_version != format_v1) { |
497 if (self->format_version != format_v1) { |
498 PyErr_Format(PyExc_RuntimeError, |
498 PyErr_Format(PyExc_RuntimeError, |
499 "version header should go in the docket, not the " |
499 "version header should go in the docket, not the " |