Skip to content

Commit

Permalink
Merge pull request #517 from jouve/dedup
Browse files Browse the repository at this point in the history
projectpipelinejob was defined twice
  • Loading branch information
Gauvain Pocentek committed Jun 7, 2018
2 parents 33c2457 + 17d9354 commit 92ca5c4
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions gitlab/v4/objects.py
Expand Up @@ -2248,7 +2248,7 @@ class ProjectPipelineJob(ProjectJob):
pass


class ProjectPipelineJobsManager(ListMixin, RESTManager):
class ProjectPipelineJobManager(ListMixin, RESTManager):
_path = '/projects/%(project_id)s/pipelines/%(pipeline_id)s/jobs'
_obj_cls = ProjectPipelineJob
_from_parent_attrs = {'project_id': 'project_id',
Expand Down Expand Up @@ -2364,16 +2364,6 @@ class ProjectPipelineScheduleManager(CRUDMixin, RESTManager):
('description', 'ref', 'cron', 'cron_timezone', 'active'))


class ProjectPipelineJob(ProjectJob):
pass


class ProjectPipelineJobManager(ListMixin, RESTManager):
_path = '/projects/%(project_id)s/pipelines/%(pipeline_id)s/jobs'
_obj_cls = ProjectPipelineJob
_from_parent_attrs = {'project_id': 'project_id', 'pipeline_id': 'id'}


class ProjectSnippetNoteAwardEmoji(ObjectDeleteMixin, RESTObject):
pass

Expand Down

0 comments on commit 92ca5c4

Please sign in to comment.