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
This commit is contained in:
Adrian Holovaty 2006-07-11 03:27:29 +00:00
parent a17a9d1474
commit 9a0e56dbb5
1 changed files with 0 additions and 2 deletions

View File

@ -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