Update of /cvsroot/freevo/freevo/src/record
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24961
Modified Files:
server.py
Log Message:
remove try-except, fix typo in variable name
Index: server.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/record/server.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** server.py 20 Dec 2004 21:26:15 -0000 1.28
--- server.py 21 Dec 2004 15:03:40 -0000 1.29
***************
*** 115,127 ****
def send_update(self):
# send and updated list to the clients
! try:
! ret = []
! for r in self.recordings:
! ret.append(r.short_list())
! for c in self.clients:
! print 'send update', c
! self.mbus_instance.send_event(c, 'record.list.update', ret)
! except:
! log.exception('send_update')
--- 115,124 ----
def send_update(self):
# send and updated list to the clients
! ret = []
! for r in self.recordings:
! ret.append(r.short_list())
! for c in self.clients:
! print 'send update', c
! self.mbus_instance.send_event(c, 'record.list.update', ret)
***************
*** 318,322 ****
if not entity.present and entity in self.clients:
log.info('lost client %s' % entity)
! self.client.remove(entity)
--- 315,319 ----
if not entity.present and entity in self.clients:
log.info('lost client %s' % entity)
! self.clients.remove(entity)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog