From: <ef...@us...> - 2009-07-10 21:32:39
|
Revision: 7252 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7252&view=rev Author: efiring Date: 2009-07-10 21:32:27 +0000 (Fri, 10 Jul 2009) Log Message: ----------- Another fix for wxversion problem (thanks, Gael Varoquaux) Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_wx.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_wx.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_wx.py 2009-07-10 19:41:12 UTC (rev 7251) +++ trunk/matplotlib/lib/matplotlib/backends/backend_wx.py 2009-07-10 21:32:27 UTC (rev 7252) @@ -124,6 +124,10 @@ else: warnings.warn( "Update your wxversion.py to one including AlreadyImportedError") + try: + wxversion.ensureMinimal('2.8') + except wxversion.VersionError: + pass try: import wx This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |