mercurial/cext/revlog.c
changeset 32384 2e5a476b2e46
parent 32378 7d0c69505a66
child 33171 6d678ab1b10d
--- a/mercurial/cext/revlog.c	Sat May 20 22:27:52 2017 -0700
+++ b/mercurial/cext/revlog.c	Sun May 21 13:31:27 2017 +0900
@@ -1930,8 +1930,7 @@
 void revlog_module_init(PyObject *mod)
 {
 	indexType.tp_new = PyType_GenericNew;
-	if (PyType_Ready(&indexType) < 0 ||
-	    PyType_Ready(&dirstateTupleType) < 0)
+	if (PyType_Ready(&indexType) < 0)
 		return;
 	Py_INCREF(&indexType);
 	PyModule_AddObject(mod, "index", (PyObject *)&indexType);