aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/oauthentication.py
diff options
context:
space:
mode:
authorTom Christie2011-06-30 08:52:55 +0100
committerTom Christie2011-06-30 08:52:55 +0100
commit8bafa01abd9bcc104aa413f09ab9505abb3526a2 (patch)
tree2004deddadbe45ec19f4a4a2bb68cb409351f841 /djangorestframework/tests/oauthentication.py
parent5d61ff3508611f3c89de3bd98fead581fef5757c (diff)
downloaddjango-rest-framework-8bafa01abd9bcc104aa413f09ab9505abb3526a2.tar.bz2
Tidy up oauth imports slightly
Diffstat (limited to 'djangorestframework/tests/oauthentication.py')
-rw-r--r--djangorestframework/tests/oauthentication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/oauthentication.py b/djangorestframework/tests/oauthentication.py
index 7f74b804..109d9a72 100644
--- a/djangorestframework/tests/oauthentication.py
+++ b/djangorestframework/tests/oauthentication.py
@@ -15,7 +15,7 @@ try:
from oauth_provider.decorators import oauth_required
from oauth_provider.models import Resource, Consumer, Token
-except:
+except ImportError:
pass
else: