From: <jd...@us...> - 2009-08-23 18:42:45
|
Revision: 7541 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7541&view=rev Author: jdh2358 Date: 2009-08-23 18:42:37 +0000 (Sun, 23 Aug 2009) Log Message: ----------- more harness around locale Modified Paths: -------------- branches/v0_99_maint/lib/matplotlib/cbook.py Modified: branches/v0_99_maint/lib/matplotlib/cbook.py =================================================================== --- branches/v0_99_maint/lib/matplotlib/cbook.py 2009-08-23 18:37:08 UTC (rev 7540) +++ branches/v0_99_maint/lib/matplotlib/cbook.py 2009-08-23 18:42:37 UTC (rev 7541) @@ -20,7 +20,7 @@ try: preferredencoding = locale.getpreferredencoding() -except ValueError: +except (ValueError, ImportError): preferredencoding = None def unicode_safe(s): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |