From 314ca63a01e8ec7efd1f33ae201021e54d6022c3 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 12 Jun 2008 21:57:54 +0000 Subject: [PATCH] - Fix an attribute error when importing wxPython (compat) module (redhat bugzilla 450073, 450074) --- wxPython-src-2.8.7.1-bug450073.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 wxPython-src-2.8.7.1-bug450073.patch diff --git a/wxPython-src-2.8.7.1-bug450073.patch b/wxPython-src-2.8.7.1-bug450073.patch new file mode 100644 index 0000000..37c7a21 --- /dev/null +++ b/wxPython-src-2.8.7.1-bug450073.patch @@ -0,0 +1,12 @@ +diff -up wxPython-src-2.8.7.1/wxPython/wxPython/_misc.py~ wxPython-src-2.8.7.1/wxPython/wxPython/_misc.py +--- wxPython-src-2.8.7.1/wxPython/wxPython/_misc.py~ 2008-06-12 23:45:44.000000000 +0200 ++++ wxPython-src-2.8.7.1/wxPython/wxPython/_misc.py 2008-06-12 23:45:44.000000000 +0200 +@@ -453,7 +453,7 @@ wxDateTime_ConvertYearToBC = wx._misc.Da + wxDateTime_GetCurrentMonth = wx._misc.DateTime_GetCurrentMonth + wxDateTime_IsLeapYear = wx._misc.DateTime_IsLeapYear + wxDateTime_GetCentury = wx._misc.DateTime_GetCentury +-wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysinYear ++wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysInYear + wxDateTime_GetNumberOfDaysInMonth = wx._misc.DateTime_GetNumberOfDaysInMonth + wxDateTime_GetMonthName = wx._misc.DateTime_GetMonthName + wxDateTime_GetWeekDayName = wx._misc.DateTime_GetWeekDayName