]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: Properly report errors if virStreamRecv fails
authorCole Robinson <crobinso@redhat.com>
Tue, 26 Jul 2011 23:25:43 +0000 (19:25 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 26 Jul 2011 23:33:36 +0000 (19:33 -0400)
commitd5f969e13076753e643a49eaeb06d77d75f617f8
treed75b4f73a2ee2b2f73f2fc4bdd41160cac8a460e
parent831c81fcd413a0489b818333baf2b84f4a6b302b
python: Properly report errors if virStreamRecv fails

We only want to raise the special value -2. -1 should return None
which tells the bindings to throw an exception.
python/libvirt-override.c