hv_xen: Compose file name outside error handling
authorMichael Hanselmann <hansmi@google.com>
Tue, 22 Jan 2013 13:25:52 +0000 (14:25 +0100)
committerMichael Hanselmann <hansmi@google.com>
Wed, 23 Jan 2013 11:41:05 +0000 (12:41 +0100)
commit76c364d9e8bb05bf8677d85657ca7267be549572
tree0712a2a8f74c4a7db8b0b4262250e5680fce5327
parent00ef625c586bd7154ea5d7b293eec65bc014d0ce
hv_xen: Compose file name outside error handling

In _ReadConfigFile, the filename should be prepared outside the
try/except block. Fixes bad code formatting, too.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/hypervisor/hv_xen.py