[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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.


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

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.