Edgewall Software
Modify

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#13343 closed enhancement (fixed)

Make Fragment callable

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.4.3
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

trac.util.html.Fragment is now callable, consistent with the similar class in the Genshi library.

Internal Changes:

Description (last modified by Ryan J Ollos)

See trac-users:Twd-zE9RrwU/ADnK8W6eAQAJ.

The Fragment.__call__() in Genshi accepts multiple arguments and each argument is passed to Fragment.append(). Fragment.append() accepts only 1 argument.

Attachments (0)

Change History (6)

comment:1 by Ryan J Ollos, 4 years ago

Description: modified (diff)

comment:2 by Ryan J Ollos, 4 years ago

Owner: set to Ryan J Ollos
Status: newassigned

comment:3 by Ryan J Ollos, 4 years ago

API Changes: modified (diff)

Proposed changes in [11ade25fca/rjollos.git].

comment:4 by Jun Omae, 4 years ago

Looks good to me.

comment:5 by Ryan J Ollos, 4 years ago

API Changes: modified (diff)

Thanks, committed to 1.4-stable in r17512, to trunk in [17513:17514] (sorry, forgot to check test results before committing).

Last edited 4 years ago by Ryan J Ollos (previous) (diff)

comment:6 by Ryan J Ollos, 4 years ago

Resolution: fixed
Status: assignedclosed

Modify Ticket

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