Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4015 closed defect (fixed)

Missing code in compat.py, revision 4024

Reported by: ericanderton@… Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: general Version: devel
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I was wondering why the trac-admin script wouldn't execute correctly. Seems there were a few lines missing from the last commit.

Very simple patch, starting at line 101:

try:
        all = all
except NameError:
    def all(S):
        for x in S:
            if not x:
               return False
        return True

FWIW, the actual line reporting an error was line 184 of trac.web.chrome, where it references 'compat.all' in the definition of '_default_context_data'.

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 18 years ago

Milestone: 0.11
Owner: changed from Jonas Borgström to Christian Boos
Severity: normaltrivial
Status: newassigned
Version: 0.10devel

comment:2 by Christian Boos, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r4032, thanks for the report!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.