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.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins