Opened 8 years ago

Closed 4 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


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 8 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 Ryan J Ollos

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.