Changeset - 632b0761e617
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2010-11-26 03:28:27
marcin@python-works.com
bugfix, when user had no repos he would see all repos in my account, (correct commit)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/scm.py
Show inline comments
 
@@ -114,13 +114,13 @@ class ScmModel(BaseModel):
 
        """
 
        Get all repos from db and for each repo create it's backend instance.
 
        and fill that backed with information from database
 
        
 
        :param all_repos: give specific repositories list, good for filtering
 
        """
 
        if not all_repos:
 
        if all_repos is None:
 
            all_repos = self.sa.query(Repository)\
 
                .order_by(Repository.repo_name).all()
 

	
 
        invalidation_list = [str(x.cache_key) for x in \
 
                             self.sa.query(CacheInvalidation.cache_key)\
 
                             .filter(CacheInvalidation.cache_active == False)\
0 comments (0 inline, 0 general)