Ticket #30 (closed enhancement: fixed)
Viagra
| Reported by: | Paul Clifford | Owned by: | ianb |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | weberror | Version: | 1.1.1 |
| Severity: | blocker | Keywords: | 35534518 |
| Cc: |
Description
There are several uses of the subprocess module in Paste, PasteScript?, and PasteDeploy?. In some cases the "import subprocess" is wrapped in a try/except block but subsequent code assumes it will succeed, and in other cases it's just imported normally; both cause failures under Python 2.3. Also, string.Template is used in PasteScript?'s copydir.py module, which was added in 2.4, with no fallback to paste.util.string24.
If the subprocess.py module is copied from a 2.4 installation to Paste's paste/util directory as subprocess24.py, then the following three patches will fix up the 2.3 incompatiblities.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

