##// END OF EJS Templates
osutil: convert PyString* to PyBytes*...
Gregory Szorc -
r30098:301ef65e default
parent child Browse files
Show More
@@ -624,7 +624,7 b' static PyObject *statfiles(PyObject *sel'
624 624 pypath = PySequence_GetItem(names, i);
625 625 if (!pypath)
626 626 goto bail;
627 path = PyString_AsString(pypath);
627 path = PyBytes_AsString(pypath);
628 628 if (path == NULL) {
629 629 Py_DECREF(pypath);
630 630 PyErr_SetString(PyExc_TypeError, "not a string");
General Comments 0
You need to be logged in to leave comments. Login now