Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix the query.

  • Loading branch information...
commit e3a20e9e26ecc4dc341d5d9bbdd095fd7f9e1c1d 1 parent 511b763
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  trac_milestones
View
2  trac_milestones
@@ -27,7 +27,7 @@ class TracMilestone(TracTickets):
for m in self.get_milestones(env):
label = m.name.replace(' ', '_').replace('.', '_')
- q = Query.from_string("status=new|assigned|reopened&milestone=%s" % m.name)
+ q = Query.from_string(env, "status=new|assigned|reopened&milestone=%s" % m.name)
cursor.execute(*q.get_sql())
yield ("%s.value" % label, len(list(cursor)))
Please sign in to comment.
Something went wrong with that request. Please try again.