Fixed two more instances of bug #4827 in the management code.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ian Kelly 2007-09-15 17:56:36 +00:00
parent bf3c1cf7bf
commit 4f87e34315
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class Command(NoArgsCommand):
cursor = connection.cursor()
if connection.features.uses_case_insensitive_names:
table_name_converter = str.upper
table_name_converter = lambda x: x.upper()
else:
table_name_converter = lambda x: x
# Get a list of all existing database tables, so we know what needs to

View File

@ -130,7 +130,7 @@ def sql_delete(app, style):
else:
table_names = []
if connection.features.uses_case_insensitive_names:
table_name_converter = str.upper
table_name_converter = lambda x: x.upper()
else:
table_name_converter = lambda x: x