]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: Raise exceptions if virDomain*Stats fail.
authorCole Robinson <crobinso@redhat.com>
Fri, 24 Jul 2009 15:05:27 +0000 (11:05 -0400)
committerCole Robinson <crobinso@redhat.com>
Sun, 26 Jul 2009 21:25:06 +0000 (17:25 -0400)
commit3c2051f86a78b2fc68c04c53cc6d6072f31aacf1
treeb84dbd156480984a853b6df2164d518b2d84840a
parent2348cf20e71b292b7c93ea756ee6799f65ab151f
python: Raise exceptions if virDomain*Stats fail.

The generator couldn't tell that the stats return values were pointers.
Stick a white list in the function which tries to make this distinction.
python/generator.py