]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix missing error constants in libvirt python module
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Feb 2013 12:55:09 +0000 (12:55 +0000)
committerDoug Goldstein <cardoe@cardoe.com>
Sat, 9 Feb 2013 06:22:25 +0000 (00:22 -0600)
commit7b6175db6d8340600a3f578a5174412534c43704
tree1e7fa2f1eb0c55f44d6ccbf5cfe5500e71d32080
parent01496e391176b81bb6ac4a8b7c0ed0221e306f7f
Fix missing error constants in libvirt python module

The previous change to the generator, changed too much - only
the functions are in 'virerror.c', the constants remained in
'virerror.h' which could not be renamed for API compat reasons.

Add a test case to sanity check the generated python bindings

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 25ea8e47e74def560bf89cd94dd54b75ca5ff4d6)
python/Makefile.am
python/generator.py
python/sanitytest.py [new file with mode: 0644]