Skip to content
Snippets Groups Projects
Commit 7133dd41 authored by Sam Gleske's avatar Sam Gleske
Browse files

Move project bug in manage py

There's no need to move the project to a group if the user is
creating projects in their own namespace.
parent 48cbabb8
No related branches found
No related tags found
No related merge requests found
......@@ -75,9 +75,9 @@ def createproject(pname):
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=findproject(gitlab_user,pname)
print new_project
new_project=git.moveProject(found_group['id'],new_project['id'])
if gitlab_user != gitlab_namespace:
new_project=findproject(gitlab_user,pname)
new_project=git.moveProject(found_group['id'],new_project['id'])
if findproject(gitlab_namespace,pname):
return findproject(gitlab_namespace,pname)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment