diff options
| author | Craig Blaszczyk | 2012-01-04 18:05:12 +0000 |
|---|---|---|
| committer | Craig Blaszczyk | 2012-01-04 18:05:12 +0000 |
| commit | 46e4ba258fd2e74384a6a43b9edbe55754518bc2 (patch) | |
| tree | 2f392c4543919635e6a17541dc1d98e9d560aaf8 /djangorestframework/utils/__init__.py | |
| parent | be11336dd91f26475a46f41e94c6c0fef25f53f3 (diff) | |
| download | django-rest-framework-46e4ba258fd2e74384a6a43b9edbe55754518bc2.tar.bz2 | |
#75 remove except statements which are overly broad in the exception they catch
Diffstat (limited to 'djangorestframework/utils/__init__.py')
| -rw-r--r-- | djangorestframework/utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/utils/__init__.py b/djangorestframework/utils/__init__.py index 305311f4..2b4fd10e 100644 --- a/djangorestframework/utils/__init__.py +++ b/djangorestframework/utils/__init__.py @@ -43,7 +43,7 @@ def url_resolves(url): """ try: resolve(url) - except: + except Exception: return False return True |
