diff options
author | Federico Simoncelli <fsimonce@redhat.com> | 2012-09-11 10:41:49 -0400 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-09-11 15:19:30 -0600 |
commit | ccac37e304d2370e6f6977b62a941f106127cf64 (patch) | |
tree | 75b82431cae92a5311696f95eaf4bdeeeeb600c0 /generator.py | |
parent | c9378ecd737dac326b7a4ddc44a830f2dbe0e975 (diff) | |
download | libvirt-python-v6-ccac37e304d2370e6f6977b62a941f106127cf64.tar.gz libvirt-python-v6-ccac37e304d2370e6f6977b62a941f106127cf64.tar.xz libvirt-python-v6-ccac37e304d2370e6f6977b62a941f106127cf64.zip |
python: Initialize new_params in virDomainSetSchedulerParameters
The new_params variable must be initialized in case the
virDomainGetSchedulerParameters call fails and we hit the cleanup
section before actually allocating the new parameters.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
Diffstat (limited to 'generator.py')
0 files changed, 0 insertions, 0 deletions