# HG changeset patch # User Marcin Kuzminski # Date 2011-06-13 14:34:45 # Node ID 39ae0f0972b9e531f23d9798db7fdecce6f46669 # Parent 7ca0b584c91271c5e25995ae95cab7163fde7e06 Fixed problem with new repos, and visibility on the main list. diff --git a/rhodecode/model/scm.py b/rhodecode/model/scm.py --- a/rhodecode/model/scm.py +++ b/rhodecode/model/scm.py @@ -112,7 +112,7 @@ class CachedRepoList(object): continue - if not scmr: + if scmr is None: log.error('%s this repository is present in database but it ' 'cannot be created as an scm instance', dbr.repo_name)