|
From: <md...@us...> - 2007-08-28 19:20:13
|
Revision: 3745
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3745&view=rev
Author: mdboom
Date: 2007-08-28 12:20:08 -0700 (Tue, 28 Aug 2007)
Log Message:
-----------
Oops in last commit.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/cbook.py
Modified: trunk/matplotlib/lib/matplotlib/cbook.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/cbook.py 2007-08-28 19:17:21 UTC (rev 3744)
+++ trunk/matplotlib/lib/matplotlib/cbook.py 2007-08-28 19:20:08 UTC (rev 3745)
@@ -572,7 +572,7 @@
# Get a regex that will remove *up to* nshift spaces from the
# beginning of each line. If it isn't in the cache, generate it.
unindent = _dedent_regex.get(nshift, None)
- if unindent = None
+ if unindent is None:
unindent = re.compile("\n\r?" + " ?" * nshift)
_dedent_regex[nshift] = unindent
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|