From 9a0e56dbb56bc1f995931aa500ed9f8338a6afb1 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 11 Jul 2006 03:27:29 +0000 Subject: [PATCH] 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 --- django/db/models/query.py | 2 -- 1 file changed, 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