[Python-modules-commits] [python-social-auth] 40/71: Fix a few typos in backends

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:14:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.14
in repository python-social-auth.

commit 7c3f0e2eca4444761d241de124a9dd9899519c31
Author: Peter Schmidt <peter at peterjs.com>
Date:   Mon Oct 12 16:58:15 2015 +1100

    Fix a few typos in backends
---
 social/backends/base.py     | 4 ++--
 social/backends/evernote.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/social/backends/base.py b/social/backends/base.py
index f55e8e3..059fe4c 100644
--- a/social/backends/base.py
+++ b/social/backends/base.py
@@ -117,7 +117,7 @@ class BaseAuth(object):
         return out
 
     def extra_data(self, user, uid, response, details=None, *args, **kwargs):
-        """Return deafault extra data to store in extra_data field"""
+        """Return default extra data to store in extra_data field"""
         data = {}
         for entry in (self.EXTRA_DATA or []) + self.setting('EXTRA_DATA', []):
             if not isinstance(entry, (list, tuple)):
@@ -194,7 +194,7 @@ class BaseAuth(object):
 
     def auth_extra_arguments(self):
         """Return extra arguments needed on auth process. The defaults can be
-        overriden by GET parameters."""
+        overridden by GET parameters."""
         extra_arguments = self.setting('AUTH_EXTRA_ARGUMENTS', {}).copy()
         extra_arguments.update((key, self.data[key]) for key in extra_arguments
                                     if key in self.data)
diff --git a/social/backends/evernote.py b/social/backends/evernote.py
index 10abef7..2fde3e5 100644
--- a/social/backends/evernote.py
+++ b/social/backends/evernote.py
@@ -57,7 +57,7 @@ class EvernoteOAuth(BaseOAuth1):
     def extra_data(self, user, uid, response, details=None, *args, **kwargs):
         data = super(EvernoteOAuth, self).extra_data(user, uid, response,
                                                      details, *args, **kwargs)
-        # Evernote returns expiration timestamp in miliseconds, so it needs to
+        # Evernote returns expiration timestamp in milliseconds, so it needs to
         # be normalized.
         if 'expires' in data:
             data['expires'] = int(data['expires']) / 1000

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list