changeset 1380:39ae0f0972b9 beta

Fixed problem with new repos, and visibility on the main list.
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 13 Jun 2011 16:34:45 +0200
parents 7ca0b584c912
children a1ab3e9c7e82
files rhodecode/model/scm.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/model/scm.py	Mon Jun 13 14:17:11 2011 +0200
+++ b/rhodecode/model/scm.py	Mon Jun 13 16:34:45 2011 +0200
@@ -112,7 +112,7 @@
                 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)