Show More
@@ -133,7 +133,8 b' class SimpleVCS(object):' | |||||
133 | def is_valid_and_existing_repo(self, repo_name, base_path, scm_type): |
|
133 | def is_valid_and_existing_repo(self, repo_name, base_path, scm_type): | |
134 | db_repo = Repository.get_by_repo_name(repo_name) |
|
134 | db_repo = Repository.get_by_repo_name(repo_name) | |
135 | if not db_repo: |
|
135 | if not db_repo: | |
136 |
log.debug('Repository `%s` not found inside the database.' |
|
136 | log.debug('Repository `%s` not found inside the database.', | |
|
137 | repo_name) | |||
137 | return False |
|
138 | return False | |
138 |
|
139 | |||
139 | if db_repo.repo_type != scm_type: |
|
140 | if db_repo.repo_type != scm_type: |
General Comments 0
You need to be logged in to leave comments.
Login now