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:
Marcin Kuzminski 2016-11-17 18:48:31 +01:00
parent 66e3dcc71d
commit d5210dfe63

View file

@ -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):
"""