Skip to content

Commit

Permalink
Merge branch 'trac-0.12-compat'
Browse files Browse the repository at this point in the history
  • Loading branch information
ejucovy committed Feb 17, 2012
2 parents a499999 + e667722 commit 3acd71a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion multireposearch/sqlindexer.py
Expand Up @@ -83,7 +83,9 @@ def do_reindex(db):
def find_words(self, query):
db = self.env.get_read_db()
sql, args = search_to_sql(db, ['contents'], query)
for id, filename, repo in db(self.query % sql, args):
cursor = db.cursor()
cursor.execute(self.query % sql, args)
for id, filename, repo in cursor:
yield filename, repo


Expand Down

0 comments on commit 3acd71a

Please sign in to comment.