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.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to