From d9906756cfc546bd182688fdcaeb0aa8fe96e6dd Mon Sep 17 00:00:00 2001 From: Anton Ryzhov Date: Fri, 22 Feb 2013 01:48:03 +0400 Subject: Don't use internally deprecated methods --- examples/custom_stanzas/custom_stanza_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/custom_stanzas/custom_stanza_provider.py b/examples/custom_stanzas/custom_stanza_provider.py index b0e00247..0ebdb77e 100755 --- a/examples/custom_stanzas/custom_stanza_provider.py +++ b/examples/custom_stanzas/custom_stanza_provider.py @@ -51,7 +51,7 @@ class ActionBot(sleekxmpp.ClientXMPP): # our roster. self.add_event_handler("session_start", self.start) - self.registerHandler( + self.register_handler( Callback('Some custom iq', StanzaPath('iq@type=set/action'), self._handle_action)) -- cgit v1.2.3