[Python-modules-commits] [python-social-auth] 138/322: PEP8/PyFlakes

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:13:00 UTC 2016


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

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

commit 49c8f8388eb409aad5187e1654cceccef067eca8
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Mon Feb 23 12:12:53 2015 -0200

    PEP8/PyFlakes
---
 social/backends/zotero.py            | 6 +-----
 social/tests/backends/test_zotero.py | 2 --
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/social/backends/zotero.py b/social/backends/zotero.py
index 427e74b..83d494b 100644
--- a/social/backends/zotero.py
+++ b/social/backends/zotero.py
@@ -2,11 +2,7 @@
 Zotero OAuth1 backends, docs at:
     http://psa.matiasaguirre.net/docs/backends/zotero.html
 """
-from requests import HTTPError
-
-from social.backends.oauth import BaseOAuth2, BaseOAuth1
-from social.exceptions import AuthMissingParameter, AuthCanceled
-import ipdb
+from social.backends.oauth import BaseOAuth1
 
 
 class ZoteroOAuth(BaseOAuth1):
diff --git a/social/tests/backends/test_zotero.py b/social/tests/backends/test_zotero.py
index d9b837d..f950760 100644
--- a/social/tests/backends/test_zotero.py
+++ b/social/tests/backends/test_zotero.py
@@ -7,8 +7,6 @@ from social.tests.backends.oauth import OAuth1Test
 class ZoteroOAuth1Test(OAuth1Test):
     backend_path = 'social.backends.zotero.ZoteroOAuth'
     expected_username = 'FooBar'
-
-
     access_token_body = json.dumps({
         'access_token': {u'oauth_token': u'foobar',
                          u'oauth_token_secret': u'rodgsNDK4hLJU1504Atk131G',

-- 
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