ledger/test/regress/B21BF389.py
Alexis Hildebrandt 0bbb4f2f0c [python] Remove double quotes from unicode values
When converting a ledger.Value to unicode the Python API added
double quotes around it.
2016-01-11 21:38:32 +01:00

9 lines
245 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
import ledger
for post in ledger.read_journal(__file__.replace(".py", "_py.test")).query("income"):
print(unicode(post.tag("Reference")))