[PATCH] Python bindings example scripts using Transaction.BeginEdit()

Mark Jenkins mark at parit.ca
Mon Aug 2 18:25:30 EDT 2010


Attached is a patch which updates the python bindings example scripts to
 use Transaction.BeginEdit() and Transaction.CommitEdit(). Doing so
allows these examples scripts to run without a bunch of warnings to
stderr from GnuCash as they did before.

apply with patch -p0

Mark Jenkins
Member
ParIT Worker Co-op

p.s.

You can also pull this from my subversion repository.
svn diff -r 579:581 \
http://svn.parit.ca/gnucash/branches/python-bindings/

and find in there my other python bindings patches from today as well,
the work I did with Transaction.GetImbalance(), and my work on feature
enhancement bug 625193
https://bugzilla.gnome.org/show_bug.cgi?id=625193
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python_bindings_use_trans_edit_commit_examples.py
Type: text/x-python
Size: 2390 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20100802/689ac29d/attachment.py>


More information about the gnucash-devel mailing list