[PATCH] python bindings constant imports
Mark Jenkins
mark at parit.ca
Tue Jun 8 16:29:32 EDT 2010
Attached is a patch that imports GncNumeric rounding constants and all
the Account codes into gnucash.gnucash_core. They also thus become
available in the most simple way:
from gnucash import ACCT_TYPE_LIABILITY
Apply with -p0.
Mark Jenkins
p.s.
I've noticed some of the posts from folks who have had trouble with the
python bindings in recent months. Sorry for not responding yet, I only
saw them recently because I filter gnucash-devel into a folder I haven't
been able to look at much. I've updated my filters to isolate posts with
python in the subject so I can stay on top of these.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python_bindings_gncnumeric_and_accounttype_constants.patch
Type: text/x-diff
Size: 3578 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20100608/a42d4c20/attachment.bin>
More information about the gnucash-devel
mailing list