|
From: <md...@us...> - 2008-12-01 16:27:20
|
Revision: 6463
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6463&view=rev
Author: mdboom
Date: 2008-12-01 16:27:15 +0000 (Mon, 01 Dec 2008)
Log Message:
-----------
[ 2316591 ] assertion is always true
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/config/verbose.py
Modified: trunk/matplotlib/lib/matplotlib/config/verbose.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/config/verbose.py 2008-12-01 15:23:49 UTC (rev 6462)
+++ trunk/matplotlib/lib/matplotlib/config/verbose.py 2008-12-01 16:27:15 UTC (rev 6463)
@@ -69,7 +69,7 @@
if always is True, the report will occur on every function
call; otherwise only on the first time the function is called
"""
- assert(callable, func)
+ assert callable(func)
def wrapper(*args, **kwargs):
ret = func(*args, **kwargs)
@@ -86,4 +86,4 @@
return self.vald[self.level]>=self.vald[level]
-verbose=Verbose()
\ No newline at end of file
+verbose=Verbose()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|