From ba6ef2c2ff37272e512da00c19a70c1bcfd5a7f5 Mon Sep 17 00:00:00 2001 From: Sam Gleske <sag47@drexel.edu> Date: Wed, 9 Oct 2013 17:02:48 -0400 Subject: [PATCH] Update for using recent version of pyapi-gitlab Fixes issue #2 --- lib/manage_gitlab_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/manage_gitlab_project.py b/lib/manage_gitlab_project.py index 4340906..b78b023 100755 --- a/lib/manage_gitlab_project.py +++ b/lib/manage_gitlab_project.py @@ -74,7 +74,7 @@ def createproject(pname): description="Git mirror of %s." % project_name else: description=options.desc - new_project=git.createProject(pname,description=description,issues_enabled=str(int(options.issues)),wall_enabled=str(int(options.wall)),merge_requests_enabled=str(int(options.merge)),wiki_enabled=str(int(options.wiki)),snippets_enabled=str(int(options.snippets)),public=str(int(options.public))) + new_project=git.createProject(pname,description=description,issues_enabled=int(options.issues),wall_enabled=int(options.wall),merge_requests_enabled=int(options.merge),wiki_enabled=int(options.wiki),snippets_enabled=int(options.snippets),public=int(options.public)) if gitlab_user != gitlab_namespace: new_project=findproject(gitlab_user,pname) new_project=git.moveProject(found_group['id'],new_project['id']) -- GitLab