diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-07-11 03:27:29 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-07-11 03:27:29 +0000 |
| commit | 9a0e56dbb56bc1f995931aa500ed9f8338a6afb1 (patch) | |
| tree | 77ee83583ea554e403a1d5d2f2740584b79eeec4 | |
| parent | a17a9d1474b050317841c2a7cb6e207ee1aea922 (diff) | |
Removed unnecessary 'except: raise' in django.db.models.query.lookup_inner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/db/models/query.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py index f2d48640ca..e148a99ee8 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -831,8 +831,6 @@ def lookup_inner(path, lookup_type, value, opts, table, column): except FieldFound: # Match found, loop has been shortcut. pass - except: # Any other exception; rethrow - raise else: # No match found. raise TypeError, "Cannot resolve keyword '%s' into field" % name |
