virStream.sendAll() fix raising an undeclared varv1.2.1-rc2
commitde8361627c4f3fa2a1f8dd164ef80c5f0a6a17f6
authorDoug Goldstein <cardoe@cardoe.com>
Sat, 11 Jan 2014 03:11:04 +0000 (10 21:11 -0600)
committerDoug Goldstein <cardoe@cardoe.com>
Sat, 11 Jan 2014 03:16:34 +0000 (10 21:16 -0600)
tree16937c6bf3056d83fc6e545185b4f4bd3da9ddc4
parent80c53727f39581892250a9e481318d745f232bdb
virStream.sendAll() fix raising an undeclared var

The exception is raised from the variable 'e', which was undeclared in
this context. Used code that is compatible with old and new Python
versions.
libvirt-override-virStream.py