#2317: tg-admin throws exception on Python 2.4 due to wrong import
---------------------------+------------------------------------------------
Reporter: Felix.Schwarz | Owner:
Type: defect | Status: new
Priority: high | Milestone:
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
[source:/branches/1.0/turbogears/command/info...@6205#l3 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.
--
Ticket URL: <http://trac.turbogears.org/ticket/2317>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---