From 9cbc29149f4a5437bc9f54f124895278b558b25d Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Sat, 11 Jul 2009 22:17:49 +0000 Subject: [PATCH] fixed typo --- sleekxmpp/componentxmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py index 3351485..28b5817 100755 --- a/sleekxmpp/componentxmpp.py +++ b/sleekxmpp/componentxmpp.py @@ -73,7 +73,7 @@ class ComponentXMPP(basexmpp, XMLStream): def incoming_filter(self, xmlobj): if xmlobj.tag.startswith('{jabber:client}'): xmlobj.tag = xmlobj.tag.replace('jabber:client', 'jabber:component:accept') - for child in xmlobj.children(): + for child in xmlobj.getchildren(): child = self.incoming_filter(child) return xmlobj