Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
removed test code
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinwhittle committed Sep 16, 2009
1 parent 7f22799 commit 1ec5230
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/appengine/yosdemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ class OAuthController(webapp.RequestHandler):
def get(self):
session=gmemsess.Session(self)
if 'access_token' in session:

request_token = session['request_token'] if 'request_token' in session else None
if not request_token:
self.response.out.write("No un-authed token found in session")
Expand All @@ -128,9 +127,6 @@ def get(self):
if token.key != urllib.unquote( self.request.get('oauth_token', 'no-token') ):
self.response.out.write("Something went wrong! Tokens do not match")
return
# ms = MySpace(ckeynsecret.CONSUMER_KEY, ckeynsecret.CONSUMER_SECRET)
# access_token = ms.get_access_token(token)
# session['access_token'] = access_token.to_string()
session.save()

self.redirect('/')
Expand Down

0 comments on commit 1ec5230

Please sign in to comment.