diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2019-12-03 22:59:35 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2019-12-05 15:06:44 +0100 |
commit | 12a74c66c6656bbf6a89bfae83b76e3df37d9199 (patch) | |
tree | 189bc4543ff839662d4032dbf66cd2e283f17829 /src/py_value.cc | |
parent | 23d818175a81e46a899c5e8b00be54cfa0881a4e (diff) | |
download | fork-ledger-12a74c66c6656bbf6a89bfae83b76e3df37d9199.tar.gz fork-ledger-12a74c66c6656bbf6a89bfae83b76e3df37d9199.tar.bz2 fork-ledger-12a74c66c6656bbf6a89bfae83b76e3df37d9199.zip |
Port to python3
Diffstat (limited to 'src/py_value.cc')
-rw-r--r-- | src/py_value.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_value.cc b/src/py_value.cc index 486228c0..b0754896 100644 --- a/src/py_value.cc +++ b/src/py_value.cc @@ -71,7 +71,7 @@ namespace { return (PyObject *)&PyBool_Type; } else if (value.is_long()) { - return (PyObject *)&PyInt_Type; + return (PyObject *)&PyLong_Type; } else if (value.is_string()) { return (PyObject *)&PyUnicode_Type; |