Opened 8 years ago

Closed 4 years ago

#4691 closed defect (fixed)

ISearchSource needs different import for 0.11

Reported by: Martin Owned by: coderanger
Priority: normal Component: FilenameSearchPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Plugin filenamesearch didn't work on trac 0.11.1 until I changed the import into:

    from import ISearchSource
except ImportError:
    from trac.Search import ISearchSource

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by tomasz.kloc

Thanks for hint. In trac 0.11.5 plugin works only when I change the import to:

    from trac.Search import ISearchSource
except ImportError:
    from import ISearchSource

Originally line was:

from import ISearchSource

file: filenamesearch/

comment:2 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

(In [13221]) Fixes #4691: Added 0.11 compatibility to import of search module. Thanks to debacle@… for the patch.

Add Comment

Modify Ticket

as closed The owner will remain coderanger.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.