Author: dmeyer
Date: Sun Jan 20 05:03:52 2008
New Revision: 10298

Log:
InProgress.is_finished is now a function

Modified:
   trunk/tvserver/bin/freevo-tvserver
   trunk/ui/src/application/handler.py
   trunk/ui/src/gui/areas/tvlisting_area.py
   trunk/ui/src/tv/plugins/guide.py
   trunk/ui/src/tv/plugins/testguide.py

Modified: trunk/tvserver/bin/freevo-tvserver
==============================================================================
--- trunk/tvserver/bin/freevo-tvserver  (original)
+++ trunk/tvserver/bin/freevo-tvserver  Sun Jan 20 05:03:52 2008
@@ -178,7 +178,7 @@
     auth = mbus.cfg.hashkey.strip()
     host = mbus.addr['id'][mbus.addr['id'].find('@')+1:]
     port = epg.server.rpc('server.start', host + ':0', auth)
-    while not port.is_finished:
+    while not port.is_finished():
         # FIXME: add this during runtime!
         kaa.main.step()
     port = port()[1]

Modified: trunk/ui/src/application/handler.py
==============================================================================
--- trunk/ui/src/application/handler.py (original)
+++ trunk/ui/src/application/handler.py Sun Jan 20 05:03:52 2008
@@ -214,7 +214,7 @@
         # InProgress objects so if result is an InProgress object we wait
         # here using step(). This is ugly and needs to be fixed.
         if isinstance(result, kaa.InProgress):
-            while not result.is_finished:
+            while not result.is_finished():
                 kaa.main.step()
 
 # create the global object

Modified: trunk/ui/src/gui/areas/tvlisting_area.py
==============================================================================
--- trunk/ui/src/gui/areas/tvlisting_area.py    (original)
+++ trunk/ui/src/gui/areas/tvlisting_area.py    Sun Jan 20 05:03:52 2008
@@ -273,7 +273,7 @@
 
         self.channels = kaa.epg.get_channels(sort=True)
         if isinstance(self.channels, kaa.InProgress):
-            while not self.channels.is_finished:
+            while not self.channels.is_finished():
                 kaa.main.step()
             self.channels = self.channels()
             

Modified: trunk/ui/src/tv/plugins/guide.py
==============================================================================
--- trunk/ui/src/tv/plugins/guide.py    (original)
+++ trunk/ui/src/tv/plugins/guide.py    Sun Jan 20 05:03:52 2008
@@ -75,7 +75,7 @@
         self.channels = kaa.epg.get_channels(sort=True)
         # FIXME: make it work without step()
         if isinstance(self.channels, kaa.InProgress):
-            while not self.channels.is_finished:
+            while not self.channels.is_finished():
                 kaa.main.step()
             self.channels = self.channels()
         self.channel  = self.get_channel()

Modified: trunk/ui/src/tv/plugins/testguide.py
==============================================================================
--- trunk/ui/src/tv/plugins/testguide.py        (original)
+++ trunk/ui/src/tv/plugins/testguide.py        Sun Jan 20 05:03:52 2008
@@ -84,7 +84,7 @@
         self.channels = kaa.epg.get_channels(sort=True)
         # FIXME: make it work without step()
         if isinstance(self.channels, kaa.InProgress):
-            while not self.channels.is_finished:
+            while not self.channels.is_finished():
                 kaa.main.step()
             self.channels = self.channels()
 

-------------------------------------------------------------------------
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