Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
32382:c87db79b9507 | 32384:2e5a476b2e46 |
---|---|
942 | 942 |
943 dirs_module_init(mod); | 943 dirs_module_init(mod); |
944 manifest_module_init(mod); | 944 manifest_module_init(mod); |
945 revlog_module_init(mod); | 945 revlog_module_init(mod); |
946 | 946 |
947 if (PyType_Ready(&dirstateTupleType) < 0) | |
948 return; | |
947 Py_INCREF(&dirstateTupleType); | 949 Py_INCREF(&dirstateTupleType); |
948 PyModule_AddObject(mod, "dirstatetuple", | 950 PyModule_AddObject(mod, "dirstatetuple", |
949 (PyObject *)&dirstateTupleType); | 951 (PyObject *)&dirstateTupleType); |
950 } | 952 } |
951 | 953 |