~edwargix/git.sr.ht

a425931afffbc5c971757bc446a3a670ff968f62 — Drew DeVault 7 years ago 17a7f70
Fix bug in git-srht-periodic
1 files changed, 1 insertions(+), 1 deletions(-)

M git-srht-periodic
M git-srht-periodic => git-srht-periodic +1 -1
@@ 12,7 12,7 @@ def cleanup_autocreated():
    repos = (Repository.query
            .filter(Repository.visibility == RepoVisibility.autocreated)
            .filter(Repository.created < due)).all()
    db.session.delete(r) for r in repos
    (db.session.delete(r) for r in repos)
    db.session.commit()

cleanup_autocreated()