Mercurial > hg
diff mercurial/cext/parsers.c @ 32384:2e5a476b2e46
cext: move back finalization of dirstateTupleType where it should be
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 21 May 2017 13:31:27 +0900 |
parents | 7d0c69505a66 |
children | 7640584e697c |
line wrap: on
line diff
--- a/mercurial/cext/parsers.c Sat May 20 22:27:52 2017 -0700 +++ b/mercurial/cext/parsers.c Sun May 21 13:31:27 2017 +0900 @@ -944,6 +944,8 @@ manifest_module_init(mod); revlog_module_init(mod); + if (PyType_Ready(&dirstateTupleType) < 0) + return; Py_INCREF(&dirstateTupleType); PyModule_AddObject(mod, "dirstatetuple", (PyObject *)&dirstateTupleType);