Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
emkornfield authored and pitrou committed Jul 2, 2019
1 parent dec4585 commit cd22df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/python/common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ PyBuffer::~PyBuffer() {
// ----------------------------------------------------------------------
// Python exception -> Status


Status ConvertPyError(StatusCode code) {
PyObject* exc_type = nullptr;
PyObject* exc_value = nullptr;
Expand Down Expand Up @@ -148,7 +147,8 @@ Status PassPyError() {
if (PyErr_Occurred()) {
// Do not call PyErr_Clear, the assumption is that someone further
// up the call stack will want to deal with the Python error.
return Status(StatusCode::UnknownError, "Python Error", std::make_shared<PythonErrorDetail>());
return Status(StatusCode::UnknownError, "Python Error",
std::make_shared<PythonErrorDetail>());
}
return Status::OK();
}
Expand Down
5 changes: 0 additions & 5 deletions python/pyarrow/_plasma.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ class PlasmaObjectExists(ArrowException):
pass





cdef int plasma_check_status(const CStatus& status) nogil except -1:
if status.ok():
return 0
Expand All @@ -288,8 +285,6 @@ cdef int plasma_check_status(const CStatus& status) nogil except -1:
return check_status(status)




cdef class PlasmaClient:
"""
The PlasmaClient is used to interface with a plasma store and manager.
Expand Down

0 comments on commit cd22df6

Please sign in to comment.