Skip to content

Commit da31029

Browse files
authored
Merge pull request #110 from kadimgh/feature/gitlab.v4
Switching to gitlab.v4
2 parents aeb27ec + 5d61dd8 commit da31029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/manage_gitlab_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def needs_transfer(user, groupname, project):
121121
namespace = groupname
122122
else:
123123
namespace = user
124-
if type(project.namespace) == gitlab.v3.objects.Group:
124+
if type(project.namespace) == gitlab.v4.objects.Group:
125125
return project.namespace.name != namespace
126126
else:
127127
return project.namespace['name'] != namespace

0 commit comments

Comments
 (0)