From 0da003ed1e66e25785e09d05255c8d1852d1fb9e Mon Sep 17 00:00:00 2001 From: Morgan Collett Date: Thu, 01 Nov 2007 09:28:15 +0000 Subject: #2412: Improvement to handling CM disconnections from smcv review --- diff --git a/src/buddy.py b/src/buddy.py index f533b22..52e0146 100644 --- a/src/buddy.py +++ b/src/buddy.py @@ -344,7 +344,7 @@ class Buddy(ExportedGObject): # if the Connection Manager disconnected other than # PS stopping it, then we don't have a connection. - if conn: + if conn is not None: self.TelepathyHandleRemoved(conn.service_name, conn.object_path, handle) # the Owner can't disappear - that would be silly -- cgit v0.9.1