WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH][XEND] fix a XendLogging bug on python version 2.4.0

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][XEND] fix a XendLogging bug on python version 2.4.0 and 2.4.1
From: "He, Qing" <qing.he@xxxxxxxxx>
Date: Fri, 2 Feb 2007 17:04:07 +0800
Delivery-date: Fri, 02 Feb 2007 01:03:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdGqRf6Z8R4xPjKRZqkZpJyaiocRw==
Thread-topic: [PATCH][XEND] fix a XendLogging bug on python version 2.4.0 and 2.4.1
XendLogging uses python library class logging and overrides the function
member findCaller. logging.findCaller once changed the number of its
return values from 2 to 3. This change happened in python release 2.4.2.

Original XendLogging code has check against this issue, but is not
accurate enough, which fails the startup of xend on python release 2.4.0
and 2.4.1, this small patch fixes this.

-Qing

Attachment: xendlog-python-version.patch
Description: xendlog-python-version.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>