1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

magic-removal: Fixed #1606 -- Fixed ValueError in inspectdb. Thanks, pb

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-04-10 03:26:40 +00:00
parent 985da9307b
commit 1345cd0c17

View File

@ -700,7 +700,6 @@ def inspectdb(db_name):
# This is a hook for DATA_TYPES_REVERSE to return a tuple of
# (field_type, extra_params_dict).
if type(field_type) is tuple:
field_type, extra_params = field_type
field_type, new_params = field_type
extra_params.update(new_params)