Revision: 8917 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8917&view=rev Author: mdboom Date: 2011-01-14 18:15:33 +0000 (Fri, 14 Jan 2011)
Log Message: ----------- Fix doc build with recent versions of Sphinx (reported by Sandro Tosi) Modified Paths: -------------- branches/v1_0_maint/lib/matplotlib/sphinxext/plot_directive.py Modified: branches/v1_0_maint/lib/matplotlib/sphinxext/plot_directive.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/sphinxext/plot_directive.py 2011-01-14 05:42:04 UTC (rev 8916) +++ branches/v1_0_maint/lib/matplotlib/sphinxext/plot_directive.py 2011-01-14 18:15:33 UTC (rev 8917) @@ -346,7 +346,7 @@ del options['nofigs'] formats = setup.config.plot_formats - if type(formats) == str: + if isinstance(formats, basestring): formats = eval(formats) fname = os.path.basename(plot_path) 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