spelling
This commit is contained in:
parent
76f23b6bd6
commit
163ca2fb91
1 changed files with 3 additions and 3 deletions
|
|
@ -281,9 +281,9 @@ def is_valid_repo(repo_name, base_path, expect_scm=None, explicit_scm=None, conf
|
|||
|
||||
def is_valid_repo_group(repo_group_name, base_path, skip_path_check=False):
|
||||
"""
|
||||
Returns True if given path is a repository group, False otherwise
|
||||
Returns True if a given path is a repository group, False otherwise
|
||||
|
||||
:param repo_name:
|
||||
:param repo_group_name:
|
||||
:param base_path:
|
||||
"""
|
||||
full_path = os.path.join(safe_str(base_path), safe_str(repo_group_name))
|
||||
|
|
@ -301,7 +301,7 @@ def is_valid_repo_group(repo_group_name, base_path, skip_path_check=False):
|
|||
# other things inside bare git repo
|
||||
maybe_repo = os.path.dirname(full_path)
|
||||
if maybe_repo == base_path:
|
||||
# skip root level repo check, we know root location CANNOT BE a repo group
|
||||
# skip root level repo check; we know root location CANNOT BE a repo group
|
||||
return False
|
||||
|
||||
scm_ = get_scm(maybe_repo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue