Author: tack
Date: Tue Apr 25 01:21:36 2006
New Revision: 1491

Modified:
   trunk/base/src/notifier/timer.py

Log:
And the clouds parted and a wonderous voice hath spake unto me from the
heavens above: "thou shalt edit timer.py and modify thine inactive callback
warning to debug."  And the heathens and infidels trembled before the mighty
voice, and the commandment was passed into law.


Modified: trunk/base/src/notifier/timer.py
==============================================================================
--- trunk/base/src/notifier/timer.py    (original)
+++ trunk/base/src/notifier/timer.py    Tue Apr 25 01:21:36 2006
@@ -78,11 +78,10 @@
 
     def __call__(self, *args, **kwargs):
         if not self.active():
-            # This should not happen, but it does. Somewhere deep inside the
-            # notifier code is a bug
-            log.error('calling inactivate callback for %s', self)
-            import traceback
-            traceback.print_stack()
+            # This happens if previous timer that has been called during the
+            # same notifier step has stopped us.  This is a workaround to a
+            # bug that exists in notifier.
+            log.debug('calling callback on inactive timer (%s)' % repr(self))
             return False
 
         return super(Timer, self).__call__(*args, **kwargs)


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to