simplevcs: fix a typo when running detection of vcs backend.
- the flag should be explicit_scm which skips detection of VCS systems. This improves the speed of calls by not trying to look for a valid vcs.
This commit is contained in:
parent
66e3dcc71d
commit
d5210dfe63
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ class SimpleVCS(object):
|
|||
repo_name, db_repo.repo_type, scm_type)
|
||||
return False
|
||||
|
||||
return is_valid_repo(repo_name, base_path, expect_scm=scm_type)
|
||||
return is_valid_repo(repo_name, base_path, explicit_scm=scm_type)
|
||||
|
||||
def valid_and_active_user(self, user):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue