diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-02-14 10:57:13 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-02-14 10:57:13 +0100 |
commit | 44d0dc54fb7edf7de4e50ca34d430fe734c0e8cc (patch) | |
tree | 8b22474a3915b0340ee00c14b566b5a5243329cd | |
parent | 58433d2b1854eb4e112c499d52d8dd0fd6dba094 (diff) | |
download | gitlab-44d0dc54fb7edf7de4e50ca34d430fe734c0e8cc.tar.gz |
remove unused _returnClass attribute
-rw-r--r-- | gitlab/__init__.py | 3 | ||||
-rw-r--r-- | gitlab/objects.py | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 1bb148e..a947084 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -351,9 +351,6 @@ class Gitlab(object): raise_error_from_response(r, GitlabListError) cls = obj_class - if obj_class._returnClass: - cls = obj_class._returnClass - cls_kwargs = kwargs.copy() # Add _from_api manually, because we are not creating objects diff --git a/gitlab/objects.py b/gitlab/objects.py index 5dfc80a..8146816 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -177,7 +177,6 @@ class GitlabObject(object): _urlPlural = None _id_in_delete_url = True _id_in_update_url = True - _returnClass = None _constructorTypes = None #: Whether _get_list_or_object should return list or object when id is None |