Show More
@@ -284,9 +284,6 b' class RepoGroupModel(object):' | |||||
284 | if 'group_description' in repo_group_args: |
|
284 | if 'group_description' in repo_group_args: | |
285 | repo_group.group_description = repo_group_args['group_description'] |
|
285 | repo_group.group_description = repo_group_args['group_description'] | |
286 | if 'parent_group_id' in repo_group_args: |
|
286 | if 'parent_group_id' in repo_group_args: | |
287 | repo_group.parent_group_id = repo_group_args['parent_group_id'] |
|
|||
288 |
|
||||
289 | if 'parent_group_id' in repo_group_args: |
|
|||
290 | 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 | |
291 | 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']) | |
292 | if 'group_name' in repo_group_args: |
|
289 | if 'group_name' in repo_group_args: |
General Comments 0
You need to be logged in to leave comments.
Login now