From 2e7afa35841a36005d19a43a683ccd2fa0e6d0b9 Mon Sep 17 00:00:00 2001 From: Michael Migliore Date: Mon, 10 Jul 2023 12:14:12 +0200 Subject: [PATCH] style --- python/F3DPythonBindings.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python/F3DPythonBindings.cxx b/python/F3DPythonBindings.cxx index ef2001276c..8317431f54 100644 --- a/python/F3DPythonBindings.cxx +++ b/python/F3DPythonBindings.cxx @@ -279,15 +279,13 @@ PYBIND11_MODULE(f3d, module) image.def("setData", [=](f3d::image& img, const py::bytes& data) { - PyErr_WarnEx(PyExc_DeprecationWarning, - "setData is deprecated, use setContent instead.", 1); + PyErr_WarnEx(PyExc_DeprecationWarning, "setData is deprecated, use setContent instead.", 1); setImageBytes(img, data); }); image.def("getData", [=](const f3d::image& img) { - PyErr_WarnEx(PyExc_DeprecationWarning, - "getData is deprecated, use getContent instead.", 1); + PyErr_WarnEx(PyExc_DeprecationWarning, "getData is deprecated, use getContent instead.", 1); getImageBytes(img); }); #endif