Mercurial > kallithea
changeset 1427:ba697e2f71ff beta
fixed a bug in cache invalidation
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 15 Jul 2011 19:34:56 +0200 |
parents | 91708b96e991 |
children | e5467730682b |
files | rhodecode/model/db.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/db.py Sun Jul 10 16:26:42 2011 +0200 +++ b/rhodecode/model/db.py Fri Jul 15 19:34:56 2011 +0200 @@ -477,10 +477,10 @@ return self.__get_instance() inv = self.invalidate - if inv: + if inv is not None: region_invalidate(_c, None, self.repo_name) #update our cache - inv.cache_key.cache_active = True + inv.cache_active = True Session.add(inv) Session.commit()