Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 65c1ca0

Browse files
committed
Formatted the README a bit.
1 parent 532c160 commit 65c1ca0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Overview
22

3-
This code was originally forked from Leah Culver and Andy Smith's oauth.py code (http://github.com/leah/python-oauth/). Some of the tests come from a fork by Vic Fryzel (http://github.com/shellsage/python-oauth), while a revamped Request class and more tests were merged in from Mark Paschal's fork (http://github.com/markpasc/python-oauth). A number of notable differences exist between this code and its forefathers:
3+
This code was originally forked from [Leah Culver and Andy Smith's oauth.py code](http://github.com/leah/python-oauth/). Some of the tests come from a [fork by Vic Fryzel](http://github.com/shellsage/python-oauth), while a revamped Request class and more tests were merged in from [Mark Paschal's fork](http://github.com/markpasc/python-oauth). A number of notable differences exist between this code and its forefathers:
44

55
* 100% unit test coverage.
66
* The <code>DataStore</code> object has been completely ripped out. While creating unit tests for the library I found several substantial bugs with the implementation and confirmed with Andy Smith that it was never fully baked.

oauth/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,13 +361,13 @@ def from_request(cls, http_method, http_url, headers=None, parameters=None,
361361
return None
362362

363363
@classmethod
364-
def from_consumer_and_token(cls, oauth_consumer, token=None,
364+
def from_consumer_and_token(cls, consumer, token=None,
365365
http_method=HTTP_METHOD, http_url=None, parameters=None):
366366
if not parameters:
367367
parameters = {}
368368

369369
defaults = {
370-
'oauth_consumer_key': oauth_consumer.key,
370+
'oauth_consumer_key': consumer.key,
371371
'oauth_timestamp': cls.make_timestamp(),
372372
'oauth_nonce': cls.make_nonce(),
373373
'oauth_version': cls.version,

0 commit comments

Comments
 (0)