summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>2010-10-22 13:06:08 -0400
committerLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>2010-11-24 16:14:59 -0500
commite75a98e8c12b1fa8a7a7aebcb21588724b6e4354 (patch)
tree7c98b2e098295bba95acf193a6bdfbe3056d059e
parent2de84b74d622697c3281a4b9abaf29c354fee6b4 (diff)
Don't print garbage when checking an invalid handle
Empathy might check a lot of invalid handles when the user is adding a contact. No need to pollute the console.
-rw-r--r--src/server/conn.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/conn.py b/src/server/conn.py
index bdc8c8c..1d8ab7d 100644
--- a/src/server/conn.py
+++ b/src/server/conn.py
@@ -151,8 +151,6 @@ class Connection(_Connection, DBusProperties):
def check_handle(self, handle_type, handle):
if (handle_type, handle) not in self._handles:
- print "Connection.check_handle", handle, handle_type, self._handles.keys()
- print str(list( [ self._handles[x] for x in self._handles.keys() ] ) )
raise InvalidHandle('handle number %d not valid for type %d' %
(handle, handle_type))