Author: dmeyer
Date: Wed Feb 13 13:17:25 2008
New Revision: 3065

Log:
remove more old code

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

Modified: trunk/base/src/notifier/decorators.py
==============================================================================
--- trunk/base/src/notifier/decorators.py       (original)
+++ trunk/base/src/notifier/decorators.py       Wed Feb 13 13:17:25 2008
@@ -73,10 +73,6 @@
     currently running, any arguments passed to the decorated function on
     subsequent calls will be discarded.
     """
-    if type(interval) == type(Timer) and issubclass(interval, Timer):
-        log.warning('Deprecated use of @kaa.timed decorator; arg 1 is 
interval, arg 2 is (optional) timer class')
-        interval, timer = timer, interval
-
     if not policy in (POLICY_MANY, POLICY_ONCE, POLICY_RESTART):
         raise RunTimeError('Invalid @kaa.timed policy %s' % policy)
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to