diff sat.tac @ 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 7452ac3818e7
children 12544ea2951f
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):