diff options
author | Pierre Tardy <tardyp@gmail.com> | 2018-02-05 14:58:53 +0100 |
---|---|---|
committer | Pierre Tardy <tardyp@gmail.com> | 2018-02-05 14:58:53 +0100 |
commit | 8134f84f96059dbde72359c414352e2dbe3535e0 (patch) | |
tree | 33e2c10c15026b5af3217549a9b42dbd3d491aa2 /gitlab/v4/objects.py | |
parent | 72ade19046f47b35c1b5ad7333f11fee0dc1e56f (diff) | |
download | gitlab-8134f84f96059dbde72359c414352e2dbe3535e0.tar.gz |
fix pep8
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r-- | gitlab/v4/objects.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 67f80d0..7adf82c 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -2624,8 +2624,9 @@ class Project(SaveMixin, ObjectDeleteMixin, RESTObject): """ path = '/projects/%s/trigger/pipeline' % self.get_id() post_data = {'ref': ref, 'token': token, 'variables': variables} - attrs = self.manager.gitlab.http_post(path, post_data=post_data, **kwargs) - return ProjectPipeline(project.pipelines, attrs) + attrs = self.manager.gitlab.http_post( + path, post_data=post_data, **kwargs) + return ProjectPipeline(self.pipelines, attrs) @cli.register_custom_action('Project') @exc.on_http_error(exc.GitlabHousekeepingError) |