@check_login_required
@check_local_site_access
def bug_url(request, review_request_id, bug_id, local_site=None):
 (review_request, response) = _find_review_request(request, review_request_id, local_site)
 if (not review_request):
  return response
 response = HttpResponse(status=302)
 response[u'Location'] = (review_request.repository.bug_tracker % bug_id)
 return response

@ check_login_required @ check_local_site_access def bug_url ( request , review_request_id , bug_id , local_site = None ) : ( review_request , response ) = _find_review_request ( request , review_request_id , local_site ) if ( not review_request ) : return response response = HttpResponse ( status = 302 ) response [ u'Location' ] = ( review_request . repository . bug_tracker % bug_id ) return response
redirects user to bug tracker issue page .