From 6d0655ffb3b99362c9d92ef266e90850274898d1 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 21 2015 10:56:10 +0000 Subject: Drop code using the fork_request_pull endpoint, it's no longer declared --- diff --git a/pagure/ui/fork.py b/pagure/ui/fork.py index 9815f7b..f4b0e5a 100644 --- a/pagure/ui/fork.py +++ b/pagure/ui/fork.py @@ -458,13 +458,8 @@ def merge_request_pull(repo, requestid, username=None): repo=repo.name, requestid=requestid)) error_output = flask.url_for( - 'request_pull', repo=repo.name, requestid=requestid) - if username: - error_output = flask.url_for( - 'fork_request_pull', - repo=repo.name, - requestid=requestid, - username=username) + 'request_pull', repo=repo.name, requestid=requestid, + username=username) # Get the fork repopath = pagure.get_repo_path(request.project_from)