Ticket #31 (closed defect: fixed)
python2.3 compatability and optparse
| Reported by: | ashleywalsh@… | Owned by: | ianb |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | paste | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
paste.script.bool_optparse uses optparse._ as gettext.gettext, which appears to be a 2.4 change.
It can be fixed with::
try: _ = optparse._ except AttributeError?: from gettext import gettext as _
Change History
Note: See
TracTickets for help on using
tickets.
