Skip to content

Commit

Permalink
GAE 1.1.9 related change:
Browse files Browse the repository at this point in the history
 - Removing fetcher.py since GAE started supporting urllib2 fetchers in 1.1.9
 - Setting UrlLib2Fetcher() from openid fetchers as the default fetcher
  • Loading branch information
cnanga committed Feb 19, 2009
1 parent e075940 commit d9a0e38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 86 deletions.
Expand Up @@ -51,15 +51,12 @@
from google.appengine.ext import db
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from google.appengine.api import urlfetch

from openid import fetchers
from openid.fetchers import setDefaultFetcher, Urllib2Fetcher
from openid.consumer.consumer import Consumer
from openid.consumer import discover
from openid.extensions import oauth
from myspace.myspaceapi import MySpace

import fetcher
import store
import gmemsess
import ckeynsecret
Expand All @@ -86,7 +83,7 @@ def get_consumer(self):
"""Returns a Consumer instance.
"""
if not self.consumer:
fetchers.setDefaultFetcher(fetcher.UrlfetchFetcher())
setDefaultFetcher(Urllib2Fetcher())
self.consumer = Consumer(self.session, store.DatastoreStore())

return self.consumer
Expand Down

This file was deleted.

0 comments on commit d9a0e38

Please sign in to comment.