Show More
@@ -757,8 +757,11 b' static int add_roots_get_min(indexObject' | |||
|
757 | 757 | int rev, minrev = -1; |
|
758 | 758 | char *node; |
|
759 | 759 | |
|
760 | if (!PySet_Check(roots)) | |
|
760 | if (!PySet_Check(roots)) { | |
|
761 | PyErr_SetString(PyExc_TypeError, | |
|
762 | "roots must be a set of nodes"); | |
|
761 | 763 | return -2; |
|
764 | } | |
|
762 | 765 | iterator = PyObject_GetIter(roots); |
|
763 | 766 | if (iterator == NULL) |
|
764 | 767 | return -2; |
General Comments 0
You need to be logged in to leave comments.
Login now