[patch] some bitrot in python bindings examples/tests

Daniele Varrazzo daniele.varrazzo at gmail.com
Mon Aug 9 13:22:04 EDT 2010


there is some bitrot in the tests and example_script directories in
python bindings: there are calls to Book() that doesn't seem directly
instantiable anymore and to the nonexisting Book.mark_closed() method.
Also the uri syntax xml:/some/file doesn't seem working anymore - an
xml:// prefix seems required before the absolute path name.

The attached patch fixes the issues I've found, at least allowing a
clean run of the tests and the example without errors. Apologize if I
broke their meaning - I think it's something people knowing better
than me how the bindings are supposed to work can easily check.


-- Daniele
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py-bitrot.patch
Type: text/x-patch
Size: 3383 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20100809/b0b2d983/attachment.bin>

More information about the gnucash-devel mailing list