Skip to content
Browse files

removed useless lines

  • Loading branch information...
1 parent ec97200 commit 15aecf50e5ec7b2731bd4b0a9821adec9a84bd5c Naitik Shah committed Feb 5, 2009
Showing with 1 addition and 4 deletions.
  1. +1 −4 __init__.py
View
5 __init__.py
@@ -87,10 +87,7 @@ def is_valid_signature(self, request):
except oauth.OAuthError:
return False # no signature
- if self.sig_method.check_signature(oauth_request, self.consumer, None, oauth_signature):
- return True
- else:
- return False
+ return self.sig_method.check_signature(oauth_request, self.consumer, None, oauth_signature)
def validate_signature(self, view):
"""

0 comments on commit 15aecf5

Please sign in to comment.
Something went wrong with that request. Please try again.