[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: host.get_log() close fd
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1195231437 0 # Node ID 1ad85cdcca3d99130ce3a74ab3203a3f14c25858 # Parent e82fb0729b511446892a7be44031d06a0a640283 xend: host.get_log() close fd Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx> --- tools/python/xen/xend/XendAPI.py | 1 + 1 files changed, 1 insertion(+) diff -r e82fb0729b51 -r 1ad85cdcca3d tools/python/xen/xend/XendAPI.py --- a/tools/python/xen/xend/XendAPI.py Fri Nov 16 16:36:38 2007 +0000 +++ b/tools/python/xen/xend/XendAPI.py Fri Nov 16 16:43:57 2007 +0000 @@ -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): _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |