Skip to content

Commit 8134f84

Browse files
committed
fix pep8
1 parent 72ade19 commit 8134f84

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gitlab/v4/objects.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -2624,8 +2624,9 @@ def trigger_pipeline(self, ref, token, variables={}, **kwargs):
26242624
"""
26252625
path = '/projects/%s/trigger/pipeline' % self.get_id()
26262626
post_data = {'ref': ref, 'token': token, 'variables': variables}
2627-
attrs = self.manager.gitlab.http_post(path, post_data=post_data, **kwargs)
2628-
return ProjectPipeline(project.pipelines, attrs)
2627+
attrs = self.manager.gitlab.http_post(
2628+
path, post_data=post_data, **kwargs)
2629+
return ProjectPipeline(self.pipelines, attrs)
26292630

26302631
@cli.register_custom_action('Project')
26312632
@exc.on_http_error(exc.GitlabHousekeepingError)

0 commit comments

Comments
 (0)