mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xend: host.get_log() close fd
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
1 parent
9f0ac19b53
commit
e4d4fa0670
1 file changed
+1
@@ -996,6 +996,7 @@ class XendAPI(object):
|
||||
log_buffer = log_file.read()
|
||||
log_buffer = log_buffer.replace('\b', ' ')
|
||||
log_buffer = log_buffer.replace('\f', '\n')
|
||||
log_file.close()
|
||||
return xen_api_success(log_buffer)
|
||||
|
||||
def host_send_debug_keys(self, _, host_ref, keys):
|
||||
|
||||