Remove some erroneous error handler code

This commit is contained in:
Dan Williams 2007-03-07 13:56:22 -05:00
parent c07596a1ea
commit 9fa72e4cba

View File

@ -358,9 +358,6 @@ class ServerPlugin(gobject.GObject):
except dbus.DBusException, e: except dbus.DBusException, e:
if str(e).startswith("org.freedesktop.DBus.Error.NoReply"): if str(e).startswith("org.freedesktop.DBus.Error.NoReply"):
raise InvalidBuddyError("couldn't get properties") raise InvalidBuddyError("couldn't get properties")
except KeyError, e:
if str(e) == "'%s'" % CONN_INTERFACE_BUDDY_INFO:
raise InvalidBuddyError("server doesn't support BuddyInfo interface")
if not props.has_key('color'): if not props.has_key('color'):
raise InvalidBuddyError("no color") raise InvalidBuddyError("no color")