Author: tack
Date: Sun Mar 11 21:51:45 2007
New Revision: 2549
Modified:
trunk/epg/src/server.py
Log:
Treat jobs list as a queue, not a stack.
Modified: trunk/epg/src/server.py
==============================================================================
--- trunk/epg/src/server.py (original)
+++ trunk/epg/src/server.py Sun Mar 11 21:51:45 2007
@@ -304,7 +304,7 @@
if time.time() - t0 > 0.05:
# time to return to the main loop
return True
- args = self._jobs.pop()
+ args = self._jobs.pop(0)
self.add_program(*args[:-1], **args[-1])
self._jobs_lock.release()
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog