#29 Python 2.2 mail:Header Import

closed-fixed
nobody
None
1
2004-04-04
2004-03-16
No

Hi,

I haven't done an exhaustive search of your fixed bugs,
so I apologize if this is a dupe.

I just installed 1.2.1, and like the new features -
particularly logging in with a wiki name instead of a
user number. One small bug I found - Python 2.2 (at
least Debian Testing's version) does not have
mail:Header. The following is the diff for a simple fix:

moin/lib/python2.2/site-packages/MoinMoin/util$ diff
mail.py~ mail.py
36c36
< from email.Header import Header
---
> # from email.Header import Header
51c51
< msg['Subject'] = Header(subject, config.charset)
---
> msg['Subject'] = subject # Header(subject,
config.charset)

Gotta love Free Software written in Python, it told me
the problem and I only had about 5 minutes of downtime!

Keep up the great work!

Bob

Discussion

  • Thomas Waldmann

    Thomas Waldmann - 2004-03-27

    Logged In: YES
    user_id=100649

    This is not a bug, your python is just too old. Minimum
    requirement is documented in CHANGES file.

    But your solution is maybe helpful for other people having
    to live with a too old python. Thanks for posting it!

     
  • Thomas Waldmann

    Thomas Waldmann - 2004-03-27
    • priority: 5 --> 1
    • status: open --> open-wont-fix
     
  • Thomas Waldmann

    Thomas Waldmann - 2004-04-04
    • status: open-wont-fix --> closed-fixed
     
  • Thomas Waldmann

    Thomas Waldmann - 2004-04-04

    Logged In: YES
    user_id=100649

    A similar fix will be included in 1.2.2.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks