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/breadcrumbs.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/breadcrumbs.py')
| -rw-r--r-- | djangorestframework/utils/breadcrumbs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/utils/breadcrumbs.py b/djangorestframework/utils/breadcrumbs.py index 6cf978ed..fd966282 100644 --- a/djangorestframework/utils/breadcrumbs.py +++ b/djangorestframework/utils/breadcrumbs.py @@ -11,7 +11,7 @@ def get_breadcrumbs(url): try: (view, unused_args, unused_kwargs) = resolve(url) - except: + except Exception: pass else: # Check if this is a REST framework view, and if so add it to the breadcrumbs |
