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.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to