[patch] some bitrot in python bindings examples/tests
janssens-geert at telenet.be
Fri Sep 3 06:01:35 EDT 2010
On Monday 9 August 2010, Daniele Varrazzo wrote:
> 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
Thanks for the patch. I know for sure the uri syntax did change indeed - I
implemented the changes after all :)
The other part I don't know for sure, but your code looks ok, so I have
committed your complete patch as is.
More information about the gnucash-devel