dump-vif-details: Safeguard 'finally' code
authorReid Price <reid@nicira.com>
Fri, 30 Oct 2009 19:39:14 +0000 (12:39 -0700)
committerReid Price <reid@nicira.com>
Fri, 30 Oct 2009 23:09:22 +0000 (16:09 -0700)
commitd99e262b28c34442045e53df746937432853809c
tree146771f43cbd056c9e8e6c1c6c83f8b0c5b9a23f
parent3d3d15a0e6e9104f6c29e3ab21f4ea7189dccbab
dump-vif-details:  Safeguard 'finally' code

This makes several minor streamlining changes to dump-vif-details,
and moves the try statement in dump_vif_info to exclude session
initialization, so that finally will not obscure the original exception
with a new exception related to the session variable when logins fail.
xenserver/root_vswitch_scripts_dump-vif-details