Revision: 8907
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8907&view=rev
Author:   efiring
Date:     2011-01-12 08:04:06 +0000 (Wed, 12 Jan 2011)

Log Message:
-----------
Backport 8657 from trunk; patch by C. Gohlke; closes 3151544

Modified Paths:
--------------
    branches/v1_0_maint/lib/matplotlib/__init__.py

Modified: branches/v1_0_maint/lib/matplotlib/__init__.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/__init__.py      2011-01-12 07:53:37 UTC 
(rev 8906)
+++ branches/v1_0_maint/lib/matplotlib/__init__.py      2011-01-12 08:04:06 UTC 
(rev 8907)
@@ -904,10 +904,11 @@
     if 'matplotlib.backends' in sys.modules:
         if warn: warnings.warn(_use_error_msg)
         return
-    arg = arg.lower()
     if arg.startswith('module://'):
         name = arg
     else:
+        # Lowercase only non-module backend names (modules are case-sensitive)
+        arg = arg.lower()
         be_parts = arg.split('.')
         name = validate_backend(be_parts[0])
         if len(be_parts) > 1:


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to