Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Collett <morgan.collett@gmail.com>2007-11-01 09:28:15 (GMT)
committer Morgan Collett <morgan.collett@gmail.com>2007-11-01 12:30:13 (GMT)
commit0da003ed1e66e25785e09d05255c8d1852d1fb9e (patch)
tree739cbf11d1c28ab6809d947177389e18503a28b0
parentbcc6da4ac69a312ce5fd2308b2ea3d0b65e9129d (diff)
#2412: Improvement to handling CM disconnections from smcv review
-rw-r--r--src/buddy.py2
1 files changed, 1 insertions, 1 deletions
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