Modify ↓
Opened 17 years ago
Closed 17 years ago
#6605 closed defect (fixed)
Interface definition of IPreferencePanelProvider appears wrong
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | general | Version: | 0.11b1 |
Severity: | normal | Keywords: | documentation |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The interface definition is listed as, in trac.prefs.api
def render_preference_panel(req, panel, path_info):
But all the actual implementations leave off the path_info argument. Doesn't seem to matter except it confused me when I went and was using the interface definition as documentation :)
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
Keywords: | documentation added |
---|---|
Milestone: | → 0.11 |
comment:2 by , 17 years ago
Note:
See TracTickets
for help on using tickets.
Looked at it, and I can't find any usage where we expect that
path_info
to exists. When first changing it, we should also use the same variable name for 'panel' to make it more intuitive.trac/prefs/api.py
name, label)`., path_info):