Import oauthlib without the obsolete wrapper.

Fixes #1000.
This commit is contained in:
Matt McClure
2012-12-12 10:45:00 -05:00
parent d74bd7e1a2
commit f69934fb24
+2 -1
View File
@@ -19,7 +19,8 @@ from .compat import urlparse, str
from .utils import parse_dict_header
try:
from ._oauth import (Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER, extract_params)
from oauthlib.common import extract_params
from oauthlib.oauth1.rfc5849 import (Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER)
except (ImportError, SyntaxError):
SIGNATURE_HMAC = None