changeset 3680:0db18ba129ea beta

scm_instance shouldn't be cached in anyway inside object
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 05 Apr 2013 12:47:34 +0200
parents 00a486622a2e
children 05006e3e286b
files rhodecode/model/db.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/model/db.py	Fri Apr 05 00:09:53 2013 +0200
+++ b/rhodecode/model/db.py	Fri Apr 05 12:47:34 2013 +0200
@@ -1154,7 +1154,7 @@
     def scm_instance_no_cache(self):
         return self.__get_instance()
 
-    @LazyProperty
+    @property
     def scm_instance(self):
         import rhodecode
         full_cache = str2bool(rhodecode.CONFIG.get('vcs_full_cache'))