changeset 1230:146b7309e84a beta

merge
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 09 Apr 2011 11:23:12 +0200
parents f17fdbe86ab9 (current diff) 8748f7974ba8 (diff)
children abbfd7c03e59
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/model/scm.py	Thu Apr 07 22:59:43 2011 +0200
+++ b/rhodecode/model/scm.py	Sat Apr 09 11:23:12 2011 +0200
@@ -139,7 +139,7 @@
             if r_dbr is not None:
                 repo, dbrepo = r_dbr
 
-                if not repo and dbrepo:
+                if repo is None and dbrepo is None:
                     log.error('Repository %s looks somehow corrupted', r_name)
                     continue
                 last_change = repo.last_change