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

delete added to manage_gitlab_project.py

parent 545dc8fe
No related branches found
Tags v0.3.1
No related merge requests found
......@@ -97,6 +97,12 @@ if options.create:
exit(1)
print found_project.ssh_url_to_repo
elif options.delete:
try:
deleted_project=git.project(findproject(gitlab_user,project_name).id).delete()
except Exception e:
print >> stderr, e
exit(1)
else:
print >> stderr, "No --create or --delete option added."
exit(1)
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