Modify ↓
Opened 3 years ago
Last modified 2 years ago
#14144 new defect
Python 3 compatibility
Reported by: | Owned by: | ttressieres | |
---|---|---|---|
Priority: | normal | Component: | DownloadsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
Hello, This plugin seems to need only one change to run with Python 3.
File "/usr/local/lib/python3.10/dist-packages/tracdownloads/api.py", line 827 except Exception, error: ^^^^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized (api.py, line 827)
As said by Python, adding the parentheses there fixes the problem. Could you integrate that in the next release? Thanks!
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Some more patching is needed, otherwise the downloads themselves don't work. This seems to be working for me: