Ticket #3522: searchall.py.diff

File searchall.py.diff, 0.5 kB (added by kenny, 5 months ago)

Patch for searchall.py

  • searchall.py

    old new  
    11## AMB SearchAll - Search multiple trac projects at once 
    22 
     3from genshi.builder import tag 
     4 
    35from trac.core import * 
    46from trac.web.href import Href 
    57try: 
     
    8486             
    8587            for result in results: 
    8688                yield (result[0], 
    87                 '%s: %s' % (env.project_name, result[1]))\ 
     89                tag(env.project_name, ': ', result[1]))\ 
    8890                + result[2:] 
    89