diff options
author | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2010-10-22 13:06:08 -0400 |
---|---|---|
committer | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2010-11-24 16:14:59 -0500 |
commit | e75a98e8c12b1fa8a7a7aebcb21588724b6e4354 (patch) | |
tree | 7c98b2e098295bba95acf193a6bdfbe3056d059e | |
parent | 2de84b74d622697c3281a4b9abaf29c354fee6b4 (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.py | 2 |
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)) |