diff options
author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-30 16:38:16 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-30 16:38:16 +0100 |
commit | 3711f198a4e02144d9d49b68420d24afc9f4f957 (patch) | |
tree | ad6edd6bf91ac4196912ba3aecc59ce5b5a1bbbb /gitlab/objects.py | |
parent | c579c8081af787945c24c75b9ed85b2f0d8bc6b9 (diff) | |
download | gitlab-3711f198a4e02144d9d49b68420d24afc9f4f957.tar.gz |
Add sudo support
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index a7105d2..28530a0 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -227,6 +227,7 @@ class GitlabObject(object): else: attributes = itertools.chain(self.requiredCreateAttrs, self.optionalCreateAttrs) + attributes = list(attributes) + ['sudo', 'page', 'per_page'] for attribute in attributes: if hasattr(self, attribute): data[attribute] = getattr(self, attribute) |