Around line #297
if resp.status is not 200:
raise MySpaceError('MySpace OAuth API returned an error', resp)
return resp.body
needs to be changed to
if int(resp.status) is not 200:
raise MySpaceError('MySpace OAuth API returned an error', resp)
return resp.body
resp.status will come out as 200L on the long servers unless you type it as
an int, and will not equal 200, causing an error to be thrown. I've
confirmed typing it as above will fix the problem. The original will work
on the development SDK, so the issue needs to be tested on live appengine
servers.
(I've also filed this as a ticket on the python sdk google code site - http://code.google.com/p/myspaceid-python-sdk/issues/detail?id=1 )