From 5395f87b0ec25119a9c4a158f1de0109d776634b Mon Sep 17 00:00:00 2001 From: scott Date: Wed, 7 Jul 2021 12:49:21 -0500 Subject: [PATCH] indent exception catch --- .../bindings/DataAccessormodule.cpp | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/components/iscesys/ImageApi/DataAccessor/bindings/DataAccessormodule.cpp b/components/iscesys/ImageApi/DataAccessor/bindings/DataAccessormodule.cpp index b74b273..6a0a114 100644 --- a/components/iscesys/ImageApi/DataAccessor/bindings/DataAccessormodule.cpp +++ b/components/iscesys/ImageApi/DataAccessor/bindings/DataAccessormodule.cpp @@ -136,16 +136,16 @@ createAccessor_C(PyObject* self, PyObject* args) } if (casterCh[0] == '\0') { - try - { - ptDataAccessor = (uint64_t) AF->createAccessor(filename, filemode, size, - bands, width, scheme); - } - catch(const std::exception& e) - { - PyErr_SetString(PyExc_OSError, e.what()); - return NULL; - } + try + { + ptDataAccessor = (uint64_t) AF->createAccessor(filename, filemode, size, + bands, width, scheme); + } + catch(const std::exception& e) + { + PyErr_SetString(PyExc_OSError, e.what()); + return NULL; + } } else if (casterCh[0] != '\0' && PyDict_Size(dict) == 0)