diff --git a/progit/ui/repo.py b/progit/ui/repo.py index 7f30c95..96c9b9f 100644 --- a/progit/ui/repo.py +++ b/progit/ui/repo.py @@ -677,12 +677,6 @@ def delete_repo(repo, username=None): 403, 'You are not allowed to change the settings for this project') - for issue in repo.issues: - for comment in issue.comments: - SESSION.delete(comment) - SESSION.delete(issue) - for request in repo.requests: - SESSION.delete(request) SESSION.delete(repo) repopath = os.path.join(APP.config['GIT_FOLDER'], repo.path)