Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 9a0e56dbb56bc1f995931aa500ed9f8338a6afb1 1 parent a17a9d1
Adrian Holovaty adrianholovaty authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/db/models/query.py
2  django/db/models/query.py
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.