Author: dmeyer
Date: Sat Oct 13 11:25:18 2007
New Revision: 2862

Log:
set status to connected after all media are connected

Modified:
   trunk/beacon/src/client.py

Modified: trunk/beacon/src/client.py
==============================================================================
--- trunk/beacon/src/client.py  (original)
+++ trunk/beacon/src/client.py  Sat Oct 13 11:25:18 2007
@@ -347,7 +347,6 @@
         self._db = Database(database)
         # connect to server notifications
         self.id = id
-        self.status = CONNECTED
         new_media = []
         self._db.medialist.connect(self)
         for id, prop in media:
@@ -357,6 +356,7 @@
             async = self._db.medialist.add(id, prop)
             yield async
             new_media.append(async.get_result())
+        self.status = CONNECTED
         self.signals['connect'].emit()
         # reconnect query monitors
         for query in self._queries[:]:

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to