diff options
| author | Tom Christie | 2011-06-30 08:52:55 +0100 |
|---|---|---|
| committer | Tom Christie | 2011-06-30 08:52:55 +0100 |
| commit | 8bafa01abd9bcc104aa413f09ab9505abb3526a2 (patch) | |
| tree | 2004deddadbe45ec19f4a4a2bb68cb409351f841 /djangorestframework/tests/oauthentication.py | |
| parent | 5d61ff3508611f3c89de3bd98fead581fef5757c (diff) | |
| download | django-rest-framework-8bafa01abd9bcc104aa413f09ab9505abb3526a2.tar.bz2 | |
Tidy up oauth imports slightly
Diffstat (limited to 'djangorestframework/tests/oauthentication.py')
| -rw-r--r-- | djangorestframework/tests/oauthentication.py | 2 |
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: |
