Skip to content

Commit cd22df6

Browse files
emkornfieldpitrou
authored andcommitted
format
1 parent dec4585 commit cd22df6

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

cpp/src/arrow/python/common.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ PyBuffer::~PyBuffer() {
102102
// ----------------------------------------------------------------------
103103
// Python exception -> Status
104104

105-
106105
Status ConvertPyError(StatusCode code) {
107106
PyObject* exc_type = nullptr;
108107
PyObject* exc_value = nullptr;
@@ -148,7 +147,8 @@ Status PassPyError() {
148147
if (PyErr_Occurred()) {
149148
// Do not call PyErr_Clear, the assumption is that someone further
150149
// up the call stack will want to deal with the Python error.
151-
return Status(StatusCode::UnknownError, "Python Error", std::make_shared<PythonErrorDetail>());
150+
return Status(StatusCode::UnknownError, "Python Error",
151+
std::make_shared<PythonErrorDetail>());
152152
}
153153
return Status::OK();
154154
}

python/pyarrow/_plasma.pyx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,6 @@ class PlasmaObjectExists(ArrowException):
269269
pass
270270

271271

272-
273-
274-
275272
cdef int plasma_check_status(const CStatus& status) nogil except -1:
276273
if status.ok():
277274
return 0
@@ -288,8 +285,6 @@ cdef int plasma_check_status(const CStatus& status) nogil except -1:
288285
return check_status(status)
289286

290287

291-
292-
293288
cdef class PlasmaClient:
294289
"""
295290
The PlasmaClient is used to interface with a plasma store and manager.

0 commit comments

Comments
 (0)