##// END OF EJS Templates
spelling
super-admin -
r5133:0ea0ce62 default
parent child Browse files
Show More
@@ -281,9 +281,9 b' def is_valid_repo(repo_name, base_path, '
281 281
282 282 def is_valid_repo_group(repo_group_name, base_path, skip_path_check=False):
283 283 """
284 Returns True if given path is a repository group, False otherwise
284 Returns True if a given path is a repository group, False otherwise
285 285
286 :param repo_name:
286 :param repo_group_name:
287 287 :param base_path:
288 288 """
289 289 full_path = os.path.join(safe_str(base_path), safe_str(repo_group_name))
@@ -301,7 +301,7 b' def is_valid_repo_group(repo_group_name,'
301 301 # other things inside bare git repo
302 302 maybe_repo = os.path.dirname(full_path)
303 303 if maybe_repo == base_path:
304 # skip root level repo check, we know root location CANNOT BE a repo group
304 # skip root level repo check; we know root location CANNOT BE a repo group
305 305 return False
306 306
307 307 scm_ = get_scm(maybe_repo)
General Comments 0
You need to be logged in to leave comments. Login now