Skip to content

Commit

Permalink
Merge pull request #873 from karlcow/862/1
Browse files Browse the repository at this point in the history
Fix #862 - Cleaning up the code with unused crumbs in endpoint.py
  • Loading branch information
Mike Taylor committed Dec 16, 2015
2 parents ee0dc98 + 73ab1cc commit d071251
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions webcompat/api/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,14 @@

from flask import abort
from flask import Blueprint
from flask.ext.github import GitHubError
from flask import g
from flask import request
from flask import session

from webcompat import app
from webcompat import github
from webcompat import limiter
from webcompat.helpers import api_request
from webcompat.helpers import get_comment_data
from webcompat.helpers import get_request_headers
from webcompat.helpers import get_response_headers
from webcompat.helpers import mockable_response
from webcompat.helpers import normalize_api_params
Expand All @@ -43,7 +40,6 @@ def proxy_issue(number):
either as an authed user, or as one of our proxy bots.
'''
request_headers = get_request_headers(g.request_headers)
path = 'repos/{0}/{1}'.format(ISSUES_PATH, number)
return api_request('get', path)

Expand Down

0 comments on commit d071251

Please sign in to comment.