From 8bafa01abd9bcc104aa413f09ab9505abb3526a2 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 30 Jun 2011 08:52:55 +0100 Subject: Tidy up oauth imports slightly --- djangorestframework/tests/oauthentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'djangorestframework/tests/oauthentication.py') 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: -- cgit v1.2.3