summaryrefslogtreecommitdiff
path: root/src/py_utils.cc
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-12 20:33:40 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-12 21:53:11 +0200
commit9244a27f9548a1d39fb01348fde66ff81f5150a4 (patch)
tree0f9d06a762a9a9939e1f37be60cf2b5e47da7983 /src/py_utils.cc
parent5f78556078d2e61d5c0ef44e36d58f3864cd84d1 (diff)
downloadfork-ledger-9244a27f9548a1d39fb01348fde66ff81f5150a4.tar.gz
fork-ledger-9244a27f9548a1d39fb01348fde66ff81f5150a4.tar.bz2
fork-ledger-9244a27f9548a1d39fb01348fde66ff81f5150a4.zip
Refactor python related types into ledger::python namespace
Diffstat (limited to 'src/py_utils.cc')
-rw-r--r--src/py_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_utils.cc b/src/py_utils.cc
index 1a28f087..5dae1ab9 100644
--- a/src/py_utils.cc
+++ b/src/py_utils.cc
@@ -37,6 +37,7 @@
namespace ledger {
using namespace flags;
+using namespace python;
using namespace boost::python;
struct bool_to_python
@@ -74,7 +75,6 @@ struct bool_from_python
typedef register_python_conversion<bool, bool_to_python, bool_from_python>
bool_python_conversion;
-
struct string_to_python
{
static PyObject* convert(const string& str)