Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#1553 closed defect (fixed)

loader.py: syntax error

Reported by: Emmanuel Blot Owned by: Christopher Lenz
Priority: normal Milestone: 0.9
Component: general Version: devel
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

[1667] trac/loader.py +56

    module = _load_module(head, head, None, path)
    if not module:
        raise ImportError, 'No module named ' + module_name

module_name does not exist in this context (maybe a copy n' paste from the next lines)

This typo causes the loader to raise an exception when a custom module is loaded.

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 20 years ago

Status: newassigned

Good catch.

comment:2 by Christopher Lenz, 20 years ago

Milestone: 0.9
Resolution: fixed
Status: assignedclosed

Fixed in [1673].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.