[telepathy-doc/master] Update for latest tp-python WIP

Danielle Madeley danielle.madeley at collabora.co.uk
Thu Nov 19 23:41:03 PST 2009


---
 docs/examples/python_mc5_clients/handler.py  |    4 ++--
 docs/examples/python_mc5_clients/observer.py |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/examples/python_mc5_clients/handler.py b/docs/examples/python_mc5_clients/handler.py
index 8fe1eaf..09bd317 100644
--- a/docs/examples/python_mc5_clients/handler.py
+++ b/docs/examples/python_mc5_clients/handler.py
@@ -10,8 +10,8 @@ from telepathy.interfaces import CLIENT, \
 from telepathy.constants import HANDLE_TYPE_ROOM, \
                                 SOCKET_ACCESS_CONTROL_LOCALHOST
 
-class ExampleHandler(telepathy.server.ClientObserver,
-                     telepathy.server.ClientHandler,
+class ExampleHandler(telepathy.server.Observer,
+                     telepathy.server.Handler,
                      telepathy.server.DBusProperties):
 
     def __init__(self, *args):
diff --git a/docs/examples/python_mc5_clients/observer.py b/docs/examples/python_mc5_clients/observer.py
index 9dd3adb..b2d786a 100644
--- a/docs/examples/python_mc5_clients/observer.py
+++ b/docs/examples/python_mc5_clients/observer.py
@@ -7,11 +7,11 @@ from telepathy.interfaces import CLIENT, \
                                  CHANNEL
 
 # begin ex.services.python.object
-class ExampleObserver(telepathy.server.ClientObserver,
+class ExampleObserver(telepathy.server.Observer,
                       telepathy.server.DBusProperties):
 
     def __init__(self, *args):
-        telepathy.server.ClientObserver.__init__(self, *args)
+        telepathy.server.Observer.__init__(self, *args)
         telepathy.server.DBusProperties.__init__(self)
 
         self._implement_property_get(CLIENT, {
-- 
1.5.6.5




More information about the telepathy-commits mailing list