[telepathy-python/master] The Requested property is always set by the time signal_new_channels is called.

Jonny Lamb jonny.lamb at collabora.co.uk
Thu Jul 16 01:49:30 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 src/server/conn.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/server/conn.py b/src/server/conn.py
index d853ca5..8de377a 100644
--- a/src/server/conn.py
+++ b/src/server/conn.py
@@ -199,10 +199,7 @@ class Connection(_Connection, DBusProperties):
 
             target_handle_type = props[CHANNEL_INTERFACE + '.TargetHandleType']
             target_handle = props[CHANNEL_INTERFACE + '.TargetHandle']
-            try:
-                suppress_handler = props[CHANNEL_INTERFACE + '.Requested']
-            except KeyError:
-                suppress_handler = False
+            suppress_handler = props[CHANNEL_INTERFACE + '.Requested']
 
             self.NewChannel(channel._object_path, channel._type,
                 target_handle_type, target_handle,
-- 
1.5.6.5




More information about the telepathy-commits mailing list