Revision: 8746
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8746&view=rev
Author:   mdboom
Date:     2010-10-12 16:44:07 +0000 (Tue, 12 Oct 2010)

Log Message:
-----------
Merged revisions 8742 via svnmerge from 
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint

........
  r8742 | jdh2358 | 2010-10-12 12:17:16 -0400 (Tue, 12 Oct 2010) | 1 line
  
  fixed mpl finance buglets identified by Keith Goodman
........

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/finance.py

Property Changed:
----------------
    trunk/matplotlib/


Property changes on: trunk/matplotlib
___________________________________________________________________
Modified: svnmerge-integrated
   - /branches/mathtex:1-7263 /branches/v0_91_maint:1-6428 
/branches/v0_98_5_maint:1-7253 /branches/v1_0_maint:1-8736 
/trunk/matplotlib:1-7315
   + /branches/mathtex:1-7263 /branches/v0_91_maint:1-6428 
/branches/v0_98_5_maint:1-7253 /branches/v1_0_maint:1-8745 
/trunk/matplotlib:1-7315

Modified: trunk/matplotlib/lib/matplotlib/finance.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/finance.py  2010-10-12 16:43:32 UTC (rev 
8745)
+++ trunk/matplotlib/lib/matplotlib/finance.py  2010-10-12 16:44:07 UTC (rev 
8746)
@@ -4,7 +4,7 @@
 
 """
 #from __future__ import division
-import os, time, warnings
+import os, warnings
 from urllib2 import urlopen
 
 try:
@@ -17,7 +17,7 @@
 
 from matplotlib import verbose, get_configdir
 from matplotlib.dates import date2num
-from matplotlib.cbook import iterable, is_string_like
+from matplotlib.cbook import iterable
 from matplotlib.collections import LineCollection, PolyCollection
 from matplotlib.colors import colorConverter
 from matplotlib.lines import Line2D, TICKLEFT, TICKRIGHT
@@ -218,7 +218,7 @@
         if len(ret) == 0:
             return None
     except IOError, exc:
-        warnings.warn('urlopen() failure\n' + url + '\n' + exc.strerror[1])
+        warnings.warn('fh failure\n%s'%(exc.strerror[1]))
         return None
 
     return ret


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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to