Permalink
Browse files

fix requests 0.13 compat

  • Loading branch information...
1 parent 198fec2 commit 65f1d432a8f2aeebbf301dbf7c2b58f4e6cde810 @jmoiron committed Jun 5, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 arachne/http.py
View
4 arachne/http.py
@@ -54,6 +54,10 @@ def untransfer(content, resp):
return content
class Response(models.Response):
+ # requests adds a json property in 0.13, which means our way of doing json
+ # (which, as we always need it, is probably better) was broken
+ json = None
+
def __init__(self):
super(Response, self).__init__()
# some versions set to False, some to None; we require False

0 comments on commit 65f1d43

Please sign in to comment.