From 5072df1ac4014e6c1452843f777b9076d429af2b Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 30 Mar 2006 03:33:26 +0000 Subject: [PATCH] magic-removal: Fixed #1556 -- Fixed typo in django.core.management from [2585]. Thanks, pawel.sawicki git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2596 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/management.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/core/management.py b/django/core/management.py index c27ec379da..7851403e5d 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -537,7 +537,7 @@ def install(app): * At least one of the database tables already exists. * The SQL was invalid. Hint: Look at the output of 'django-admin.py sqlall %s'. That's the SQL this command wasn't able to run. -The full error: """ % (app_name, app_name)) + style.ERROR_OUTPUT(e) + '\n') +The full error: """ % (app_name, app_name)) + style.ERROR_OUTPUT(str(e)) + '\n') transaction.rollback_unless_managed() sys.exit(1) transaction.commit_unless_managed() @@ -573,7 +573,7 @@ Type 'yes' to continue, or 'no' to cancel: """) * At least one of the database tables already exists. * The SQL was invalid. Hint: Look at the output of 'django-admin.py sqlreset %s'. That's the SQL this command wasn't able to run. -The full error: """ % (app_name, app_name)) + style.ERROR_OUTPUT(e) + '\n') +The full error: """ % (app_name, app_name)) + style.ERROR_OUTPUT(str(e)) + '\n') transaction.rollback_unless_managed() sys.exit(1) transaction.commit_unless_managed()