This commit is contained in:
Nathan Fritz
2009-09-05 07:38:29 +00:00
parent 5593848490
commit cb360c9479
3 changed files with 10 additions and 5 deletions

View File

@@ -248,8 +248,8 @@ class XMLStream(object):
def __spawnEvent(self, xmlobj):
"watching xmlOut and processes handlers"
#convert XML into Stanza
logging.debug("RECV: %s" % cElementTree.tostring(xmlobj))
xmlobj = self.incoming_filter(xmlobj)
logging.debug("PROCESSING: %s" % xmlobj.tag)
stanza = None
for stanza_class in self.__root_stanza:
if self.__root_stanza[stanza_class].match(xmlobj):