comparison rhodecode/model/scm.py @ 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 66f03a87141c
children b7563ad4e7ee
comparison
equal deleted inserted replaced
1379:7ca0b584c912 1380:39ae0f0972b9
110 'repository.admin')(dbr.repo_name, 110 'repository.admin')(dbr.repo_name,
111 'get repo check'): 111 'get repo check'):
112 continue 112 continue
113 113
114 114
115 if not scmr: 115 if scmr is None:
116 log.error('%s this repository is present in database but it ' 116 log.error('%s this repository is present in database but it '
117 'cannot be created as an scm instance', 117 'cannot be created as an scm instance',
118 dbr.repo_name) 118 dbr.repo_name)
119 continue 119 continue
120 120