##// END OF EJS Templates
phases: make sure an exception should be set on error return...
Yuya Nishihara -
r45737:03332e5f default
parent child Browse files
Show More
@@ -867,6 +867,10 b' static PyObject *compute_phases_map_sets'
867 pyphase = phasesets[3];
867 pyphase = phasesets[3];
868 break;
868 break;
869 default:
869 default:
870 /* this should never happen since the phase number is
871 * specified by this function. */
872 PyErr_SetString(PyExc_SystemError,
873 "bad phase number in internal list");
870 goto release;
874 goto release;
871 }
875 }
872 pyrev = PyInt_FromLong(rev);
876 pyrev = PyInt_FromLong(rev);
General Comments 0
You need to be logged in to leave comments. Login now