Skip to content

Commit c2203d0

Browse files
author
leah.culver
committed
removed unneeded check for blank consumer key. Spec allows for blank keys anyways. Thanks Toby White.
git-svn-id: https://oauth.googlecode.com/svn/code/python@1009 f7ae4463-c52f-0410-a7dc-93bad6e629e8
1 parent 996444a commit c2203d0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

oauth/oauth.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,6 @@ def _get_signature_method(self, oauth_request):
387387

388388
def _get_consumer(self, oauth_request):
389389
consumer_key = oauth_request.get_parameter('oauth_consumer_key')
390-
if not consumer_key:
391-
raise OAuthError('Invalid consumer key.')
392390
consumer = self.data_store.lookup_consumer(consumer_key)
393391
if not consumer:
394392
raise OAuthError('Invalid consumer.')

0 commit comments

Comments
 (0)