Ticket #2461 defect closed fixed
words.protocols.jabber.sasl uses base64.b64encode, which breaks compatibility with Python 2.3.x
| Reported by: | murphy_slaw | Owned by: | ralphm |
|---|---|---|---|
| Priority: | highest | Milestone: | Words-0.6 |
| Component: | words | Keywords: | |
| Cc: | murphy_slaw, ralphm, itamarst, therve | Branch: | |
| Author: | Launchpad Bug: |
Description
Twisted 2.5.0 release notes say:
"Twisted is an event-based framework for internet applications which works on Python 2.3.x, 2.4.x, and 2.5.x."
words/protocols/jabber/sasl.py, line 101, calls base64.b64encode, which doesn't exist in Python 2.3.x.
Replacing b64encode with the base64.encodestring seems to fix the problem.
Change History
Note: See
TracTickets for help on using
tickets.
