ia64/xen-unstable

changeset 16385:1ad85cdcca3d

xend: host.get_log() close fd
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Nov 16 16:43:57 2007 +0000 (2007-11-16)
parents e82fb0729b51
children 614dad9f8fdc
files tools/python/xen/xend/XendAPI.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAPI.py	Fri Nov 16 16:36:38 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendAPI.py	Fri Nov 16 16:43:57 2007 +0000
     1.3 @@ -996,6 +996,7 @@ class XendAPI(object):
     1.4          log_buffer = log_file.read()
     1.5          log_buffer = log_buffer.replace('\b', ' ')
     1.6          log_buffer = log_buffer.replace('\f', '\n')
     1.7 +        log_file.close()
     1.8          return xen_api_success(log_buffer)
     1.9  
    1.10      def host_send_debug_keys(self, _, host_ref, keys):