| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3f320af commit ce4bc0d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,9 +72,9 @@ class Group(SaveMixin, ObjectDeleteMixin, RESTObject): | |||
| 72 | 72 | variables: GroupVariableManager | |
| 73 | 73 | wikis: GroupWikiManager | |
| 74 | 74 | ||
| 75 | - @cli.register_custom_action("Group", ("to_project_id",)) | ||
| 75 | + @cli.register_custom_action("Group", ("project_id",)) | ||
| 76 | 76 | @exc.on_http_error(exc.GitlabTransferProjectError) | |
| 77 | - def transfer_project(self, to_project_id, **kwargs): | ||
| 77 | + def transfer_project(self, project_id, **kwargs): | ||
| 78 | 78 | """Transfer a project to this group. | |
| 79 | 79 | ||
| 80 | 80 | Args: | |
@@ -85,7 +85,7 @@ def transfer_project(self, to_project_id, **kwargs): | |||
| 85 | 85 | GitlabAuthenticationError: If authentication is not correct | |
| 86 | 86 | GitlabTransferProjectError: If the project could not be transfered | |
| 87 | 87 | """ | |
| 88 | - path = "/groups/%s/projects/%s" % (self.id, to_project_id) | ||
| 88 | + path = "/groups/%s/projects/%s" % (self.id, project_id) | ||
| 89 | 89 | self.manager.gitlab.http_post(path, **kwargs) | |
| 90 | 90 | ||
| 91 | 91 | @cli.register_custom_action("Group", ("scope", "search")) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments