diff options
Diffstat (limited to 'src/py_format.cc')
-rw-r--r-- | src/py_format.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/py_format.cc b/src/py_format.cc index ce7052ac..fc2103c7 100644 --- a/src/py_format.cc +++ b/src/py_format.cc @@ -37,12 +37,14 @@ namespace ledger { using namespace boost::python; +#if 0 #define EXC_TRANSLATOR(type) \ void exc_translate_ ## type(const type& err) { \ PyErr_SetString(PyExc_ArithmeticError, err.what()); \ } //EXC_TRANSLATOR(format_error) +#endif void export_format() { @@ -55,10 +57,12 @@ void export_format() //implicitly_convertible<string, amount_t>(); +#if 0 #define EXC_TRANSLATE(type) \ register_exception_translator<type>(&exc_translate_ ## type); //EXC_TRANSLATE(format_error); +#endif } } // namespace ledger |