summaryrefslogtreecommitdiff
path: root/src/py_balance.cc
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2019-12-03 22:59:35 +0000
committerJohn Wiegley <johnw@newartisans.com>2019-12-05 15:06:44 +0100
commit12a74c66c6656bbf6a89bfae83b76e3df37d9199 (patch)
tree189bc4543ff839662d4032dbf66cd2e283f17829 /src/py_balance.cc
parent23d818175a81e46a899c5e8b00be54cfa0881a4e (diff)
downloadfork-ledger-12a74c66c6656bbf6a89bfae83b76e3df37d9199.tar.gz
fork-ledger-12a74c66c6656bbf6a89bfae83b76e3df37d9199.tar.bz2
fork-ledger-12a74c66c6656bbf6a89bfae83b76e3df37d9199.zip
Port to python3
Diffstat (limited to 'src/py_balance.cc')
-rw-r--r--src/py_balance.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/py_balance.cc b/src/py_balance.cc
index dc9975cf..3067850e 100644
--- a/src/py_balance.cc
+++ b/src/py_balance.cc
@@ -33,7 +33,9 @@
#include "pyinterp.h"
#include "pyutils.h"
+#if PY_MAJOR_VERSION < 3
#include "pyfstream.h"
+#endif
#include "commodity.h"
#include "annotate.h"
#include "balance.h"