From 1c214233360524fae06c9f6946e0956843a000f3 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Thu, 16 Jan 2014 07:59:38 +0100 Subject: ProjectMember: constructor should not create a User object --- gitlab.py | 1 - 1 file changed, 1 deletion(-) (limited to 'gitlab.py') diff --git a/gitlab.py b/gitlab.py index 4fbb05a..9db538e 100644 --- a/gitlab.py +++ b/gitlab.py @@ -798,7 +798,6 @@ class ProjectIssue(GitlabObject): class ProjectMember(GitlabObject): _url = '/projects/%(project_id)s/members' - _returnClass = User requiredListAttrs = ['project_id'] requiredGetAttrs = ['project_id'] requiredCreateAttrs = ['project_id', 'user_id', 'access_level'] -- cgit v1.2.1