##// END OF EJS Templates
lazymanifest: fail if path or hash strings cannot be created...
Martin von Zweigbergk -
r24293:30e9ee20 default
parent child Browse files
Show More
@@ -243,7 +243,7 b' static PyObject *lmiter_iternext(PyObjec'
243 consumed = pl + 41;
243 consumed = pl + 41;
244 flags = PyString_FromStringAndSize(l->start + consumed,
244 flags = PyString_FromStringAndSize(l->start + consumed,
245 l->len - consumed - 1);
245 l->len - consumed - 1);
246 if (!flags) {
246 if (!path || !hash || !flags) {
247 goto bail;
247 goto bail;
248 }
248 }
249 ret = PyTuple_Pack(3, path, hash, flags);
249 ret = PyTuple_Pack(3, path, hash, flags);
General Comments 0
You need to be logged in to leave comments. Login now