Update of /cvsroot/freevo/kaa/base/src/notifier
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1442/src/notifier
Modified Files:
thread.py
Log Message:
remove old callback code
Index: thread.py
===================================================================
RCS file: /cvsroot/freevo/kaa/base/src/notifier/thread.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** thread.py 2 Aug 2005 19:37:17 -0000 1.10
--- thread.py 5 Aug 2005 17:06:12 -0000 1.11
***************
*** 113,133 ****
}
!
! def start(self, callback=None, exception_callback = None):
"""
! Start the thread.
"""
- # XXX: callback arguments should probably be deprecated
- if callback:
- self.signals["completed"].connect(callback)
- if exception_callback:
- self.signals["exception"].connect(callback)
- # start the thread
- threading.Thread.start(self)
-
- def _emit_and_join(self, signal, arg):
self.signals[signal].emit(arg)
self.join()
def run(self):
"""
--- 113,124 ----
}
! def _emit_and_join(self, signal, arg):
"""
! Run callback signals and join dead thread.
"""
self.signals[signal].emit(arg)
self.join()
+
def run(self):
"""
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog