From 48524627ee8cb0c90c6bc17a9641bcbb5364313e Mon Sep 17 00:00:00 2001 From: Armin Weihbold Date: Sat, 10 Sep 2016 06:39:31 +0200 Subject: Add the ability to fork to a specific namespace --- gitlab/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitlab') diff --git a/gitlab/objects.py b/gitlab/objects.py index 5a23dbf..4107d6b 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -1169,7 +1169,7 @@ class ProjectFork(GitlabObject): canList = False canGet = False requiredUrlAttrs = ['project_id'] - + optionalCreateAttrs = ['namespace'] class ProjectForkManager(BaseManager): obj_cls = ProjectFork -- cgit v1.2.1 From a692d59a1bb2a3438c115ada768471fc7a3f9e4b Mon Sep 17 00:00:00 2001 From: Armin Weihbold Date: Sat, 10 Sep 2016 06:58:19 +0200 Subject: fix pep8 --- gitlab/objects.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gitlab') diff --git a/gitlab/objects.py b/gitlab/objects.py index 4107d6b..be0dbef 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -1171,6 +1171,7 @@ class ProjectFork(GitlabObject): requiredUrlAttrs = ['project_id'] optionalCreateAttrs = ['namespace'] + class ProjectForkManager(BaseManager): obj_cls = ProjectFork -- cgit v1.2.1