Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2317 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

tg-admin throws exception on Python 2.4 due to wrong import

Reported by: Felix.Schwarz Owned by:
Priority: high Milestone: 1.0.x bugfix
Component: TurboGears Version: 1.0 HEAD
Severity: critical Keywords:


On Python 2.3/2.4 calling tg-admin throws an exception for me due to from email.parser import Parser. This works on Python 2.5 but for 2.4 the module is called 'email.Parser'.

The change was committed in r6205 in an attempt to fix #1155. Probably a conditional import is needed here.

Change History

comment:1 Changed 10 years ago by chrisz

Thanks for the report. I'll take care of it this week.

comment:2 Changed 10 years ago by chrisz

Fixed in r6574.

comment:3 Changed 10 years ago by Chris Arndt

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 1.0.x bugfix
Note: See TracTickets for help on using tickets.