Modify ↓
Opened 16 years ago
Closed 12 years ago
#4691 closed defect (fixed)
ISearchSource needs different import for 0.11
Reported by: | Martin | Owned by: | Noah Kantrowitz |
---|---|---|---|
Priority: | normal | Component: | FilenameSearchPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Plugin filenamesearch didn't work on trac 0.11.1 until I changed the import into:
try: from trac.search import ISearchSource except ImportError: from trac.Search import ISearchSource
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for hint. In trac 0.11.5 plugin works only when I change the import to:
Originally line was:
file: filenamesearch/web_ui.py