diff options
author | David Shah <dave@ds0.me> | 2020-08-20 09:46:49 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-08-20 09:46:49 +0100 |
commit | 109aa6347442b0d9d163e73257c6fed1a61a3961 (patch) | |
tree | 9a2206874b180e9d1ba74abb0c1478c04d0fb90b /common/pybindings.cc | |
parent | be607c10a860c1043dc7554463a8e788759809d8 (diff) | |
download | nextpnr-109aa6347442b0d9d163e73257c6fed1a61a3961.tar.gz nextpnr-109aa6347442b0d9d163e73257c6fed1a61a3961.tar.bz2 nextpnr-109aa6347442b0d9d163e73257c6fed1a61a3961.zip |
clangformat
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/pybindings.cc')
-rw-r--r-- | common/pybindings.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc index 8f824f1e..0f5780b5 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -88,7 +88,8 @@ PYBIND11_MODULE(MODULE_NAME, m) { py::register_exception_translator([](std::exception_ptr p) { try { - if (p) std::rethrow_exception(p); + if (p) + std::rethrow_exception(p); } catch (const assertion_failure &e) { PyErr_SetString(PyExc_AssertionError, e.what()); } |