Mercurial > kallithea
changeset 3681:05006e3e286b beta
api: drop commit - mark_for_invalidation will commit
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 04 Apr 2013 15:55:53 +0200 |
parents | 0db18ba129ea |
children | cf65b2c1b69d |
files | rhodecode/controllers/api/api.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/controllers/api/api.py Fri Apr 05 12:47:34 2013 +0200 +++ b/rhodecode/controllers/api/api.py Thu Apr 04 15:55:53 2013 +0200 @@ -221,7 +221,6 @@ try: invalidated_keys = ScmModel().mark_for_invalidation(repo.repo_name) - Session().commit() return ('Cache for repository `%s` was invalidated: ' 'invalidated cache keys: %s' % (repoid, invalidated_keys)) except Exception: