Modify

Opened 4 months ago

#14144 new defect

Python 3 compatibility

Reported by: pulkomandy@… 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)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain ttressieres.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.