##// END OF EJS Templates
change the way of detection of corrupted repos. sqlalchemy objects needs to be checkec `is None`.
marcink -
r1229:8748f797 beta
parent child Browse files
Show More
@@ -139,7 +139,7 b' class ScmModel(BaseModel):'
139 if r_dbr is not None:
139 if r_dbr is not None:
140 repo, dbrepo = r_dbr
140 repo, dbrepo = r_dbr
141
141
142 if not repo and dbrepo:
142 if repo is None and dbrepo is None:
143 log.error('Repository %s looks somehow corrupted', r_name)
143 log.error('Repository %s looks somehow corrupted', r_name)
144 continue
144 continue
145 last_change = repo.last_change
145 last_change = repo.last_change
General Comments 0
You need to be logged in to leave comments. Login now