Addressed PR comment.

pull/13171/head
Joshua Haberman 3 years ago
parent e3cd0586bc
commit a155418fea
  1. 2
      python/descriptor_pool.c

@ -125,7 +125,7 @@ static PyObject* PyUpb_DescriptorPool_AddSerializedFile(
PyExc_ValueError, PyExc_ValueError,
"Cannot call Add on a DescriptorPool that uses a DescriptorDatabase. " "Cannot call Add on a DescriptorPool that uses a DescriptorDatabase. "
"Add your file to the underlying database."); "Add your file to the underlying database.");
return NULL; goto done;
} }
if (PyBytes_AsStringAndSize(serialized_pb, &buf, &size) < 0) { if (PyBytes_AsStringAndSize(serialized_pb, &buf, &size) < 0) {

Loading…
Cancel
Save