changeset 155:61f1e509e684

SàT: fixed exception when using unmanaged IQ
author Goffi <goffi@goffi.org>
date Wed, 04 Aug 2010 11:58:54 +0800
parents c701f3031ada
children a216dfbb0d50
files sat.tac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat.tac	Mon Aug 02 17:53:22 2010 +0800
+++ b/sat.tac	Wed Aug 04 11:58:54 2010 +0800
@@ -243,7 +243,7 @@
         generic.FallbackHandler.__init__(self)
 
     def iqFallback(self, iq):
-        print "iqFallback: xml = [%s], handled=%s" % (iq.toXml(), "True" if iq.handled else "False")
+        debug (u"iqFallback: xml = [%s], handled=%s" % (iq.toXml(), "True" if iq.handled else "False"))
         generic.FallbackHandler.iqFallback(self, iq)
 
 class RegisteringAuthenticator(xmlstream.ConnectAuthenticator):