Show More
@@ -286,6 +286,7 b' class RepoGroupModel(object):' | |||||
286 | if 'parent_group_id' in repo_group_args: |
|
286 | if 'parent_group_id' in repo_group_args: | |
287 | assert repo_group_args['parent_group_id'] != '-1', repo_group_args # RepoGroupForm should have converted to None |
|
287 | assert repo_group_args['parent_group_id'] != '-1', repo_group_args # RepoGroupForm should have converted to None | |
288 | repo_group.parent_group = db.RepoGroup.get(repo_group_args['parent_group_id']) |
|
288 | repo_group.parent_group = db.RepoGroup.get(repo_group_args['parent_group_id']) | |
|
289 | repo_group.group_name = repo_group.get_new_name(repo_group.name) | |||
289 | if 'group_name' in repo_group_args: |
|
290 | if 'group_name' in repo_group_args: | |
290 | group_name = repo_group_args['group_name'] |
|
291 | group_name = repo_group_args['group_name'] | |
291 | if kallithea.lib.utils2.repo_name_slug(group_name) != group_name: |
|
292 | if kallithea.lib.utils2.repo_name_slug(group_name) != group_name: |
General Comments 0
You need to be logged in to leave comments.
Login now