commit ea091907f1c9168494ec1c0ea875e55c71868996
Author: Matt Riedemann <email address hidden>
Date: Fri Dec 6 08:54:14 2013 -0800
Fix UnboundLocalError in libvirt.driver._close_callback
If for whatever reason _wrapped_conn is None or not equal to the conn
parameter passed to the _close_callback method, the local _error
variable won't be set when calling set_host_enabled and result in an
UnboundLocalError.
Reviewed: https:/ /review. openstack. org/60563 github. com/openstack/ nova/commit/ ea091907f1c9168 494ec1c0ea875e5 5c71868996
Committed: http://
Submitter: Jenkins
Branch: master
commit ea091907f1c9168 494ec1c0ea875e5 5c71868996
Author: Matt Riedemann <email address hidden>
Date: Fri Dec 6 08:54:14 2013 -0800
Fix UnboundLocalError in libvirt. driver. _close_ callback
If for whatever reason _wrapped_conn is None or not equal to the conn lError.
parameter passed to the _close_callback method, the local _error
variable won't be set when calling set_host_enabled and result in an
UnboundLoca
Partial-Bug: #1257644
Change-Id: I40855f22d5449f 3b3646c90fe2d9a 71560eb86c4