[Telepathy-commits] [telepathy-salut/master] Return self from listen_for_service to make it more convinient to use

Sjoerd Simons sjoerd.simons at collabora.co.uk
Mon Sep 15 03:58:30 PDT 2008


---
 tests/twisted/avahitest.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/avahitest.py b/tests/twisted/avahitest.py
index 4fb6a68..671821a 100644
--- a/tests/twisted/avahitest.py
+++ b/tests/twisted/avahitest.py
@@ -114,6 +114,7 @@ class AvahiListener:
         browser.connect_to_signal('ItemRemoved', self._service_removed_cb)
 
         self.browsers.append(browser)
+        return self
 
 class AvahiAnnouncer:
     def __init__(self, name, type, port, txt):
-- 
1.5.6.5




More information about the Telepathy-commits mailing list