From 799645f13fb0f8cfac5392594d992a7e951d2273 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 6 Oct 2010 18:45:11 -0400 Subject: [PATCH] Updated method names. Using underscored names where possible. --- sleekxmpp/clientxmpp.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py index 2fc13c84..13de39df 100644 --- a/sleekxmpp/clientxmpp.py +++ b/sleekxmpp/clientxmpp.py @@ -93,27 +93,27 @@ class ClientXMPP(BaseXMPP): self.bound = False self.bindfail = False - self.registerHandler( + self.register_handler( Callback('Stream Features', MatchXPath('{%s}features' % self.stream_ns), self._handle_stream_features)) - self.registerHandler( + self.register_handler( Callback('Roster Update', MatchXPath('{%s}iq/{%s}query' % ( self.default_ns, 'jabber:iq:roster')), self._handle_roster)) - self.registerFeature( + self.register_feature( "", self._handle_starttls, True) - self.registerFeature( + self.register_feature( "", self._handle_sasl_auth, True) - self.registerFeature( + self.register_feature( "", self._handle_bind_resource) - self.registerFeature( + self.register_feature( "", self._handle_start_session)