Show
Ignore:
Timestamp:
04/20/06 19:34:17 (3 years ago)
Author:
athomas
Message:

RepoSearchPlugin:

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • reposearchplugin/0.9/tracreposearch/search.py

    r673 r676  
    8383                    # Search content 
    8484                    matched = 1 
    85                     content = node.get_content().read().lower() 
     85                    content = node.get_content() 
     86                    if not content: 
     87                        continue 
     88                    content = content.read().lower() 
    8689                    for term in query: 
    8790                        if term not in content: