Revision: 8379
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8379&view=rev
Author: efiring
Date: 2010-06-04 20:57:33 +0000 (Fri, 04 Jun 2010)
Log Message:
-----------
[3011650] don't raise RuntimeError upon importing texmanager
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/texmanager.py
Modified: trunk/matplotlib/lib/matplotlib/texmanager.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/texmanager.py 2010-06-04 19:20:47 UTC
(rev 8378)
+++ trunk/matplotlib/lib/matplotlib/texmanager.py 2010-06-04 20:57:33 UTC
(rev 8379)
@@ -65,10 +65,10 @@
'helpful')
version = distutils.version.LooseVersion(version)
return version < distutils.version.LooseVersion('1.6')
- raise RuntimeError('Could not obtain dvipng version')
+ mpl.verbose.report('No dvipng was found', 'helpful')
+ return False
-
class TexManager:
"""
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins