Django

Code

Changeset 5732

Show
Ignore:
Timestamp:
07/20/07 09:42:57 (1 year ago)
Author:
russellm
Message:

Fixed #4738 -- Modified the prompt that is displayed when a test database cannot be created. The existing prompt was misleading if the issue wasn't a pre-existing database. Thanks for the suggestion, John Shaffer <jshaffer2112@gmail.com>.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/test/utils.py

    r5609 r5732  
    124124            sys.stderr.write("Got an error creating the test database: %s\n" % e) 
    125125            if not autoclobber: 
    126                 confirm = raw_input("It appears the test database, %s, already exists. Type 'yes' to delete it, or 'no' to cancel: " % TEST_DATABASE_NAME) 
     126                confirm = raw_input("Type 'yes' if you would like to try deleting the test database '%s', or 'no' to cancel: " % TEST_DATABASE_NAME) 
    127127            if autoclobber or confirm == 'yes': 
    128128                try: