Author: dmeyer
Date: Mon Feb  6 19:08:16 2006
New Revision: 7915

Modified:
   trunk/apps/bin/freevo-autoshutdown

Log:
differt wakeup calculation

Modified: trunk/apps/bin/freevo-autoshutdown
==============================================================================
--- trunk/apps/bin/freevo-autoshutdown  (original)
+++ trunk/apps/bin/freevo-autoshutdown  Mon Feb  6 19:08:16 2006
@@ -221,8 +221,10 @@
             if entity.status.get('busy'):
                 busy = max(busy, entity.status.get('busy'))
             if entity.status.get('wakeup'):
-                wakeup = min(wakeup, entity.status.get('wakeup')) or \
-                         entity.status.get('wakeup')
+                if wakeup:
+                    wakeup = min(wakeup, entity.status.get('wakeup'))
+                else:
+                    wakeup = entity.status.get('wakeup')
         return idle, busy, wakeup
 
 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to