Skip to content

Commit

Permalink
Remove request.website entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Oct 3, 2014
1 parent 93c43f8 commit 7bb786d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions aspen/algorithms/website.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ def parse_body_into_request(request, website):
)


def tack_website_onto_request(request, website):
# XXX Why?
request.website = website


def raise_200_for_OPTIONS(request):
"""A hook to return 200 to an 'OPTIONS *' request"""
if request.line.method == "OPTIONS" and request.line.uri == "*":
Expand Down

0 comments on commit 7bb786d

Please sign in to comment.