Package: python-pyxmpp-doc Version: 1.0.1-1 Severity: minor Tags: patch There's a small problem in the echobot.py example script when the received message is the "normal" type. This is the end of the stack trace:
File "echobot.py", line 75, in message print u'Type: "normal".' % (t,) TypeError: not all arguments converted during string formatting Here is a fix: --- examples/echobot.py.orig 2009-05-25 08:24:16.000000000 +0100 +++ examples/echobot.py 2009-05-25 08:25:17.000000000 +0100 @@ -72,7 +72,7 @@ if t: print u'Type: "%s".' % (t,) else: - print u'Type: "normal".' % (t,) + print u'Type: "normal".' if stanza.get_type()=="headline": # 'headline' messages should never be replied to return True -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org