Source

gevent / greentest / clean_db.py

Full commit
#!/usr/bin/python
"""Drop the records of the tests that were made against non-clean copy (i.e. with uncommitted changes)
"""
from record_results import get_results_db, sqlite3

if __name__=='__main__':
    c = sqlite3.connect(get_results_db())
    c.execute('delete from testresult where changeset glob "*+"')
    c.commit()