diff options
author | Mads Kiilerich <madski@unity3d.com> | 2013-04-03 15:56:12 +0200 |
---|---|---|
committer | Mads Kiilerich <madski@unity3d.com> | 2013-04-03 15:56:12 +0200 |
commit | 91f5818da591970e6ae3ef780d29ea2e0c3c57ee (patch) | |
tree | 7cb6036daf3d249d013c22f44b765091c2c2d115 | |
parent | 799bd223b446121b5eee50f6f9b3261af68d2d1c (diff) |
update_repoinfo: fix invalidation
--HG--
branch : beta
-rw-r--r-- | rhodecode/lib/paster_commands/update_repoinfo.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rhodecode/lib/paster_commands/update_repoinfo.py b/rhodecode/lib/paster_commands/update_repoinfo.py index d2af9f20..a16b9edf 100644 --- a/rhodecode/lib/paster_commands/update_repoinfo.py +++ b/rhodecode/lib/paster_commands/update_repoinfo.py @@ -71,8 +71,7 @@ class Command(BasePasterCommand): if self.options.invalidate_cache: for r in repo_list: - r.invalidate - Session().commit() + r.set_invalidate() log.info('Updated cache for %s repositories' % (len(repo_list))) def update_parser(self): |