mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user