Source

django-publicauth / publicauth / backends / oauth.py

Diff from to

File publicauth/backends/oauth.py

         user_id = urlparse.parse_qs(response, keep_blank_values=False)['user_id'][0]
         url = self.API_URL % user_id
         return simplejson.loads(urllib.urlopen(url).read())
-
-    def extract_data(self, extra, backend_field, form_field):
-        return {form_field: extra.get(backend_field, '')}
-